PEAR_Autoloader::addAggregateObject

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

Synopsis

require_once 'PEAR/autoloader.php';

void PEAR_Autoloader::addAggregateObject ( string $classname )

Description

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.

Note

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.