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

(05-12-2016, 03:52 PM)CINewb Wrote:
(05-12-2016, 11:25 AM)Narf Wrote: It is private because the "private" keyword is used, not because of the underscore.

Isn't there some throwback though where you can do:

public function _myfunction() { }

And it won't be publicly accessible via the web browser because of the underscore?

Yes, as I explained - you can do that, but it's a legacy feature and "inaccessible" != "private".
Reply


Messages In This Thread
RE: CONTROLLERS, single method or different methods for different actions? - by Narf - 05-13-2016, 02:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB