I've noticed in a lot of people's classes that they prepend variables with an underscore and use custom getters and setters.
Why is this? Is it for performance reasons? How/why is a custom getter better then getting a variable normally?
|
Results 1 to 3 of 3
Thread: Custom Setters and GettersThreaded View
|
Click Here to Expand Forum to Full Width |