Zend_Application_Bootstrap_ResourceBootstrapper is an
interface to use when a bootstrap class will be loading external
resources -- i.e., one or more resources will not be defined directly in
the class, but rather via plugins. It should be used in conjunction with Zend_Application_Bootstrap_Bootstrapper;
Zend_Application_Bootstrap_BootstrapAbstract
implements this functionality.
The following methods make up the definition of the interface.
Table 5. Zend_Application_Bootstrap_ResourceBootstrapper Interface
| Method | Return Value | Parameters | Description |
|---|---|---|---|
registerPluginResource($resource, $options = null)
|
Zend_Application_Bootstrap_ResourceBootstrapper
|
|
Register a resource with the class, providing optional configuration to pass to the resource. |
unregisterPluginResource($resource) |
Zend_Application_Bootstrap_ResourceBootstrapper
|
|
Remove a plugin resource from the class. |
hasPluginResource($resource) |
Boolean |
|
Determine if a specific resource has been registered with the class. |
getPluginResource($resource) |
Zend_Application_Resource_Resource |
|
Retrieve a plugin resource instance by name. |
getPluginResourceNames() |
Array | N/A |
Retrieve a list of all registered plugin resource names. |
setPluginLoader(Zend_Loader_PluginLoader_Interface
$loader)
|
Zend_Application_Bootstrap_ResourceBootstrapper
|
|
Register a plugin loader instance to use when resolving plugin class names. |
getPluginLoader() |
Zend_Loader_PluginLoader_Interface |
N/A | Retrieve the registered plugin loader. |




