Zend_Loader::loadClass
Loads a class from a PHP file. The filename must be formatted as "$class.php".
If $dirs is a string or an array, it will search the directories in the order supplied, and attempt to load the first matching file. If $dirs is null, it will split the class name at underscores to generate a path hierarchy (e.g., "Zend_Example_Class" will map to "Zend/Example/Class.php"). If the file was not found in the $dirs, or if no $dirs were specified, it will attempt to load it from PHP's include_path.
Signature
public function loadClass(string
$class,
[string|array
$dirs = NULL] )
Parameters
$class
— string- - The full class name of a Zend component.
$dirs
— object- - OPTIONAL Either a path or an array of paths
to search.
Returns
- void