Application/Bootstrap/ResourceBootstrapper.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Application
- Subpackage
- Bootstrap
- Version
- $Id: ResourceBootstrapper.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Application_Bootstrap_ResourceBootstrapper
Package: Zend\Application\Bootstrap
Interface for bootstrap classes that utilize resource plugins
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods

getPluginLoader() : \Zend_Loader_PluginLoaderRetrieve plugin loader for resources
Returns
| Type | Description |
|---|---|
| \Zend_Loader_PluginLoader |

getPluginResource(string $resource) : \Zend_Application_Resource_ResourceRetrieve resource
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $resource | string |
| Type | Description |
|---|---|
| \Zend_Application_Resource_Resource |

hasPluginResource(string $resource) : boolIs the requested resource registered?
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $resource | string |
| Type | Description |
|---|---|
| bool |

registerPluginResource(string | \Zend_Application_Resource_Resource $resource, null | array | \Zend_Config $options = null) : \Zend_Application_Bootstrap_ResourceBootstrapperRegister a resource with the bootstrap
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $resource | string | \Zend_Application_Resource_Resource | |
| $options | null | array | \Zend_Config |
| Type | Description |
|---|---|
| \Zend_Application_Bootstrap_ResourceBootstrapper |

setPluginLoader(\Zend_Loader_PluginLoader_Interface $loader) : \Zend_Application_Bootstrap_ResourceBootstrapperSet plugin loader to use to fetch resources
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $loader | \Zend_Loader_PluginLoader_Interface | Zend_Loader_PluginLoader |
| Type | Description |
|---|---|
| \Zend_Application_Bootstrap_ResourceBootstrapper |

unregisterPluginResource(string | \Zend_Application_Resource_Resource $resource) : \Zend_Application_Bootstrap_ResourceBootstrapperUnregister a resource from the bootstrap
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $resource | string | \Zend_Application_Resource_Resource |
| Type | Description |
|---|---|
| \Zend_Application_Bootstrap_ResourceBootstrapper |