Zend_Loader_Autoloader_Resource::addResourceTypes
Add multiple resources at once
$types should be an associative array of resource type => specification pairs. Each specification should be an associative array containing minimally the 'path' key (specifying the path relative to the resource base path) and optionally the 'namespace' key (indicating the subcomponent namespace to append to the resource namespace). As an example: <code> $loader->addResourceTypes(array( 'model' => array( 'path' => 'models', 'namespace' => 'Model', ), 'form' => array( 'path' => 'forms', 'namespace' => 'Form', ), )); </code>
Signature
public function addResourceTypes(array
$types )
Parameters
$types
— array
Returns
- Zend_Loader_Autoloader_Resource