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.

Parameter

string $classname

what class to instantiate for the object.

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ