PEAR_Autoloader::addAggregateObject()

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.

注意

この関数は、スタティックにコールする ことはできません。