 July 2006
Number 7 |
Some authors prefer to encapsulate the access to the properties of objects of a class using setter and getter functions and making the property variables private.
This approach allows allows changing the implementation of the access to the properties without changing the interface of the class.
Despite the advantages of this approach, many users prefer the variable assignment syntax to set or get the property values, as it is less tedious.
This class makes possible to use the variable assignment syntax to access the properties while keeping the setter and getter approach.
It takes advantage of the PHP 5 special class functions __set and __get functions and the reflection API to determine which functions should be called set or get property values.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|