Language: Access Methods
Olavo Alexandrino (contact me)
This class can be used to map accesses to class variables into calls to setter and getter methods.
It provides functions that can called from a class __set and __get methods to automatically set or get the property values by calling the class setter and getter methods for the respective properties.
For example, if there is a property named "name", the class accessor methods usually are named of "getName" and "setName". Accesses to $object->name property are mapped to $object->setName($value) and $object->getName() calls.
Click here for detailed information about this class on phpclasses.org
Example
An example of use