PEAR_Autoloader::addAutoload()

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

Synopsis

require_once 'PEAR/autoloader.php';

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

Description

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

This function can not be called statically.