Welcome Guest, Not a member yet? Register   Sign In
To use variable accessors, or not to use, that's my question :)
#2

[eluser]xwero[/eluser]
none of the class variables are protected or private because php4 doesn't support it.

You could make a distinction between public and protected class variables with an underscore prefix for the protected variables. This is in analogy with the hiding of controller methods but it doesn't do anything for the class variables.


Messages In This Thread
To use variable accessors, or not to use, that's my question :) - by El Forum - 04-08-2009, 07:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB