Welcome Guest, Not a member yet? Register   Sign In
CONTROLLERS, single method or different methods for different actions?
#15

(05-12-2016, 11:01 AM)cartalot Wrote:
(05-12-2016, 01:02 AM)Narf Wrote: It may still be present in some conventions, CI too denotes non-public methods that way for easier readability.

What I was explaining is that you don't actually need to use it and that he term "private" means a different thing. Smile

well then what does 'private' mean? i am referring specifically to what is in the codeigniter 3 manual for how to prevent methods in a controller from being publicly available. is there something else that bears on this and if yes please explain or link to a source so we can understand what you are referring to.
https://codeigniter.com/user_guide/gener...te-methods

It is private because the "private" keyword is used, not because of the underscore.
Reply


Messages In This Thread
RE: CONTROLLERS, single method or different methods for different actions? - by Narf - 05-12-2016, 11:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB