Welcome Guest, Not a member yet? Register   Sign In
Controllers: private functions
#3

[eluser]Aken[/eluser]
CI will treat an opening underscore as a "private" no matter what scope the method is defined under. Or, you can still define a method as private and name it whatever you want and it won't be accessible.

_remap() is a special method used by CI. There's info about it in the user guide.


Messages In This Thread
Controllers: private functions - by El Forum - 02-22-2013, 03:10 PM
Controllers: private functions - by El Forum - 02-22-2013, 04:42 PM
Controllers: private functions - by El Forum - 02-22-2013, 04:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB