Welcome Guest, Not a member yet? Register   Sign In
Using variables as the controller name for routes
#10

(07-16-2021, 04:22 AM)John_Betong Wrote: @eril46,

https://codeigniter.com/user_guide/incom...llers.html

Quote:Important

Controller class names MUST start with an uppercase letter and ONLY the first character can be uppercase.

Note to Development Team:
BaseController.php does not conform to the above restrictions?

I think the user guide is wrong. I always have multiple uppercase letters in my controller, like in your example, and it's working fine.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: Using variables as the controller name for routes - by includebeer - 07-16-2021, 05:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB