PEAR_Autoloader::addAggregateObject() – Add an aggregate object to object.


require_once 'PEAR/autoloader.php';

void PEAR_Autoloader::addAggregateObject ( string $classname )


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.


string $classname

what class to instantiate for the object.


This function can not be called statically.

PEAR_Autoload (Previous) Add one or more autoload entries (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.