Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16437 программистов и 1697 роботов. Сейчас ищут 1565 программистов ...
PEAR_Autoloader::addAutoload
Вернуться к: PEAR_Autoload
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 )
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.
Вернуться к: PEAR_Autoload