ArininAV

PEAR_Autoloader::addAggregateObject()

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

Synopsis

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.

Заметка

Эта функция не должна вызываться статически.