API Documentation

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Application  
subpackage
Bootstrap  
version
$Id: ResourceBootstrapper.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Application_Bootstrap_ResourceBootstrapper

Interface for bootstrap classes that utilize resource plugins

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

Methods

methodpublicgetPluginLoader( ) : \Zend_Loader_PluginLoader

Retrieve plugin loader for resources

Returns
Type Description
\Zend_Loader_PluginLoader
methodpublicgetPluginResource( string $resource ) : \Zend_Application_Resource_Resource

Retrieve resource

Parameters
Name Type Description
$resource string
Returns
Type Description
\Zend_Application_Resource_Resource
methodpublicgetPluginResourceNames( ) : array

Get just resource names

Returns
Type Description
array
methodpublicgetPluginResources( ) : array

Get all resources

Returns
Type Description
array
methodpublichasPluginResource( string $resource ) : bool

Is the requested resource registered?

Parameters
Name Type Description
$resource string
Returns
Type Description
bool
methodpublicregisterPluginResource( string|\Zend_Application_Resource_Resource $resource, null|array|\Zend_Config $options = null ) : \Zend_Application_Bootstrap_ResourceBootstrapper

Register a resource with the bootstrap

Parameters
Name Type Description
$resource string|\Zend_Application_Resource_Resource
$options null|array|\Zend_Config
Returns
Type Description
\Zend_Application_Bootstrap_ResourceBootstrapper
methodpublicsetPluginLoader( \Zend_Loader_PluginLoader_Interface $loader ) : \Zend_Application_Bootstrap_ResourceBootstrapper

Set plugin loader to use to fetch resources

Parameters
Name Type Description
$loader \Zend_Loader_PluginLoader_Interface Zend_Loader_PluginLoader
Returns
Type Description
\Zend_Application_Bootstrap_ResourceBootstrapper
methodpublicunregisterPluginResource( string|\Zend_Application_Resource_Resource $resource ) : \Zend_Application_Bootstrap_ResourceBootstrapper

Unregister a resource from the bootstrap

Parameters
Name Type Description
$resource string|\Zend_Application_Resource_Resource
Returns
Type Description
\Zend_Application_Bootstrap_ResourceBootstrapper
Documentation was generated by DocBlox 0.13.3.