Zend_Loader_Autoloader_Resource::load
Object registry and factory
Loads the requested resource of type $type (or uses the default resource type if none provided). If the resource has been loaded previously, returns the previous instance; otherwise, instantiates it.
Signature
public function load(string
$resource,
[string
$type = NULL] )
Parameters
$resource
— string$type
— string
Returns
Errors/Exceptions
-
Zend_Loader_Exception
- if resource type not specified or invalid