PEAR_Autoloader::addAutoload

PEAR_Autoloader::addAutoload()

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

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.