API Documentation

Application/Resource/Modules.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
Resource  
version
$Id: Modules.php 24227 2011-07-12 19:41:46Z matthew $  

\Zend_Application_Resource_Modules

Module bootstrapping resource

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

Properties

Propertyprotected\ArrayObject  $_bootstraps= ''

Details
Type
\ArrayObject

Methods

methodpublic__construct( mixed $options = null ) : void

Constructor

Must take an optional single argument, $options.

Parameters
Name Type Description
$options mixed
methodprotected_formatModuleName( string $name ) : string

Format a module name to the module class prefix

Parameters
Name Type Description
$name string
Returns
Type Description
string
methodprotectedbootstrapBootstraps(  $bootstraps ) : void

Parameters
Name Type Description
$bootstraps
methodpublicgetBootstrap( ) : null|\Zend_Application_Bootstrap_Bootstrapper

Retrieve the bootstrap to which the resource is attached

Inherited from: \Zend_Application_Resource_ResourceAbstract::getBootstrap()
Returns
Type Description
null\Zend_Application_Bootstrap_Bootstrapper
methodpublicgetExecutedBootstraps( ) : \ArrayObject

Get bootstraps that have been run

Returns
Type Description
\ArrayObject
methodpublicgetOptions( ) : array

Retrieve resource options

Inherited from: \Zend_Application_Resource_ResourceAbstract::getOptions()
Returns
Type Description
array
methodpublicinit( ) : array

Initialize modules

Returns
Type Description
array
Throws
Exception Description
\Zend_Application_Resource_Exception When bootstrap class was not found
methodpublicmergeOptions( array $array1, mixed $array2 = null ) : array

Merge options recursively

Inherited from: \Zend_Application_Resource_ResourceAbstract::mergeOptions()
Parameters
Name Type Description
$array1 array
$array2 mixed
Returns
Type Description
array
methodpublicsetBootstrap( \Zend_Application_Bootstrap_Bootstrapper $bootstrap ) : \Zend_Application_Resource_Resource

Set the bootstrap to which the resource is attached

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

Set options from array

Inherited from: \Zend_Application_Resource_ResourceAbstract::setOptions()
Parameters
Name Type Description
$options array Configuration for resource
Returns
Type Description
\Zend_Application_Resource_ResourceAbstract
Documentation was generated by DocBlox 0.13.3.