API Documentation

Zend/Application/Bootstrap/ResourceBootstrapper.php

Show: inherited
    Table of Contents

    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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  
    Package
    Zend_Application  
    Subpackage
    Bootstrap  
    Version
    $Id: ResourceBootstrapper.php 24594 2012-01-05 21:27:01Z 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

    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.15.1.