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.

Add an aggregate object to object. (Previous) Remove an aggregate object (Next)
Last updated: Fri, 01 Aug 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.