API Documentation

Application/Bootstrap/ResourceBootstrapper.php

Interfaces
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Application
subpackage
Bootstrap
version
$Id: ResourceBootstrapper.php 20096 2010-01-06 02:05:09Z bkarwin $
Interfaces
Zend_Application_Bootstrap_ResourceBootstrapper

Description

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.

Zend_Application_Bootstrap_ResourceBootstrapper

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Application
subpackage
Bootstrap
Methods
registerPluginResource
unregisterPluginResource
hasPluginResource
getPluginResource
getPluginResources
getPluginResourceNames
setPluginLoader
getPluginLoader

Description

Interface for bootstrap classes that utilize resource plugins

Methods

getPluginLoader

getPluginLoader( ) : Zend_Loader_PluginLoader

Retrieve plugin loader for resources

Details
visibility
public
final
false
static
false

getPluginResource

getPluginResource( string $resource ) : Zend_Application_Resource_Resource

Retrieve resource

Arguments
$resource
string
Details
visibility
public
final
false
static
false

getPluginResourceNames

getPluginResourceNames( ) : array

Get just resource names

Output
array
Details
visibility
public
final
false
static
false

getPluginResources

getPluginResources( ) : array

Get all resources

Output
array
Details
visibility
public
final
false
static
false

hasPluginResource

hasPluginResource( string $resource ) : bool

Is the requested resource registered?

Arguments
$resource
string
Output
bool
Details
visibility
public
final
false
static
false

registerPluginResource

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

Register a resource with the bootstrap

Arguments
$resource
stringZend_Application_Resource_Resource
$options
nullarrayZend_Config
Details
visibility
public
final
false
static
false

setPluginLoader

setPluginLoader( Zend_Loader_PluginLoader_Interface $loader ) : Zend_Application_Bootstrap_ResourceBootstrapper

Set plugin loader to use to fetch resources

Arguments
$loader
Zend_Loader_PluginLoader_Interface
Zend_Loader_PluginLoader
Details
visibility
public
final
false
static
false

unregisterPluginResource

unregisterPluginResource( string|Zend_Application_Resource_Resource $resource ) : Zend_Application_Bootstrap_ResourceBootstrapper

Unregister a resource from the bootstrap

Arguments
$resource
stringZend_Application_Resource_Resource
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.