Loading a custom helper |
Hello,
I am new to CodeIgniter 4. How to load a helper? I read here: https://codeigniter.com/user_guide/general/helpers.html it says use the following: PHP Code: helper('name'); What I did, is that I have a file in app/Helpers/name.php with the function name set to name() and I am using the function in a controller that is extending to controller then it is not working. It says: Quote:Call to undefined function |
Messages In This Thread |
Loading a custom helper - by MoeAmine - 04-22-2020, 10:41 AM
RE: Loading a custom helper - by jreklund - 04-22-2020, 11:05 AM
RE: Loading a custom helper - by MoeAmine - 04-22-2020, 11:11 AM
|