API Documentation

Zend/Application/Resource/Resource.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
    Resource  
    Version
    $Id: Resource.php 24594 2012-01-05 21:27:01Z matthew $  

    \Zend_Application_Resource_Resource

    Package: Zend\Application\Resource

    Interface for bootstrap resources

    Category
    Zend  
    Copyright
    Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
    License
    New BSD License  

    Methods

    methodpublic__construct( mixed $options = null ) : void

    Constructor

    Must take an optional single argument, $options.

    Parameters
    Name Type Description
    $options mixed
    methodpublicgetBootstrap( ) : \Zend_Application_Bootstrap_Bootstrapper

    Retrieve the bootstrap to which the resource is attached

    Returns
    Type Description
    \Zend_Application_Bootstrap_Bootstrapper
    methodpublicgetOptions( ) : array

    Retrieve resource options

    Returns
    Type Description
    array
    methodpublicinit( ) : mixed

    Strategy pattern: initialize resource

    Returns
    Type Description
    mixed
    methodpublicsetBootstrap( \Zend_Application_Bootstrap_Bootstrapper $bootstrap ) : \Zend_Application_Resource_Resource

    Set the bootstrap to which the resource is attached

    Parameters
    Name Type Description
    $bootstrap \Zend_Application_Bootstrap_Bootstrapper
    Returns
    Type Description
    \Zend_Application_Resource_Resource
    methodpublicsetOptions( array $options ) : \Zend_Application_Resource_Resource

    Set resource options

    Parameters
    Name Type Description
    $options array
    Returns
    Type Description
    \Zend_Application_Resource_Resource
    Documentation was generated by DocBlox 0.15.1.