Interface for bootstrap classes that utilize resource plugins

category Zend
package Zend_Application
subpackage Bootstrap
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Retrieve plugin loader for resources

getPluginLoader() : \Zend_Loader_PluginLoader

Returns

\Zend_Loader_PluginLoader

Retrieve resource

getPluginResource(string $resource) : \Zend_Application_Resource_Resource

Parameters

$resource

string

Returns

\Zend_Application_Resource_Resource

Get just resource names

getPluginResourceNames() : array

Returns

array

Get all resources

getPluginResources() : array

Returns

array

Is the requested resource registered?

hasPluginResource(string $resource) : boolean

Parameters

$resource

string

Returns

boolean

Register a resource with the bootstrap

registerPluginResource(string|\Zend_Application_Resource_Resource $resource, null|array|\Zend_Config $options = null) : \Zend_Application_Bootstrap_ResourceBootstrapper

Parameters

$resource

string\Zend_Application_Resource_Resource

$options

nullarray\Zend_Config

Returns

\Zend_Application_Bootstrap_ResourceBootstrapper

Set plugin loader to use to fetch resources

setPluginLoader(\Zend_Loader_PluginLoader_Interface $loader) : \Zend_Application_Bootstrap_ResourceBootstrapper

Parameters

$loader

Returns

\Zend_Application_Bootstrap_ResourceBootstrapper

Unregister a resource from the bootstrap

unregisterPluginResource(string|\Zend_Application_Resource_Resource $resource) : \Zend_Application_Bootstrap_ResourceBootstrapper

Parameters

$resource

string\Zend_Application_Resource_Resource

Returns

\Zend_Application_Bootstrap_ResourceBootstrapper