This class is for objects where you want to separate the code for some methods into separate classes. This is useful if you have a class with not-frequently-used methods that contain lots of code that you would like to avoid always parsing.
The PEAR_Autoloader class provides autoloading and aggregation. The autoloading lets you set up in which classes the separated methods are found. Aggregation is the technique used to import new methods, an instance of each class providing separated methods is stored and called every time the aggregated method is called.
Located in /maintenance/libraries/pear/PEAR/Autoloader.php (line 43)
PEAR | --PEAR_Autoloader
Add an aggregate object to this object. If the specified class
is not defined, loading it will be attempted following PEAR's file naming scheme. All the methods in the class will be aggregated, except private ones (name starting with an underscore) and constructors.
Add one or more autoload entries.
Remove an aggregate object.
Remove an autoload entry.
Overloaded object call handler, called each time an undefined/aggregated method is invoked. This method repeats the call in the right aggregate object and passes on the return value.
Documentation generated on Thu, 20 Jan 2005 17:09:25 +0000 by phpDocumentor 1.3.0RC3