PEAR_Autoloader::addAutoload()

PEAR_Autoloader::addAutoload() -- Add one or more autoload entries

Referentiesamenvatting

require_once 'PEAR/autoloader.php';

void PEAR_Autoloader::addAutoload (string $method, string ''[$classname = NULL])

Beschrijving

Add one or more autoload entries.

Parameter

string $method

which method to autoload

string $classname

which class to find the method in. If the $method parameter is an array, this parameter may be omitted (and will be ignored if not), and the $method parameter will be treated as an associative array with method names as keys and class names as values.

Note

Deze functie kan niet statisch worden aangeroepen.