![]() |
Class alias and changing helpers - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Class alias and changing helpers (/showthread.php?tid=79228) |
Class alias and changing helpers - iRedds - 05-14-2021 I suggest considering the possibility of setting up class aliases and replacing the helpers from functions with class methods. This will simplify the use of helpers and allow them to be extended. Example PHP Code: //Autoload config
RE: Class alias and changing helpers - InsiteFX - 05-15-2021 I have to agree on this also, would make it a lot simpler to use and maintain. |