in reply to Getter and Setter Function Names
$object->salary() # returns the value of salary $object->salary(1234) # sets salary to 1234
In the end what really matters, though, is that you establish a standard practice and follow it. The exact nature of the practice is less important than your consistancy in adhering to it.
-Matt
|
|---|