API Documentation

Application/Bootstrap/Bootstrapper.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: Bootstrapper.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Application_Bootstrap_Bootstrapper

Interface for bootstrap classes

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

methodpublic__construct( \Zend_Application $application ) : void

Constructor

Parameters
Name Type Description
$application \Zend_Application
methodpublicbootstrap( null|string $resource = null ) : mixed

Bootstrap application or individual resource

Parameters
Name Type Description
$resource null|string
Returns
Type Description
mixed
methodpublicgetApplication( ) : \Zend_Application|\Zend_Application_Bootstrap_Bootstrapper

Retrieve application object

methodpublicgetClassResourceNames( ) : array

Retrieve list of class resource initializer names (resource names only, no method names)

Returns
Type Description
array
methodpublicgetClassResources( ) : array

Retrieve list of class resource initializers (_init* methods). Returns as resource/method pairs.

Returns
Type Description
array
methodpublicgetEnvironment( ) : string

Retrieve application environment

Returns
Type Description
string
methodpublicrun( ) : void

Run the application

methodpublicsetOptions( array $options ) : \Zend_Application_Bootstrap_Bootstrapper

Set bootstrap options

Parameters
Name Type Description
$options array
Returns
Type Description
\Zend_Application_Bootstrap_Bootstrapper
Documentation was generated by DocBlox 0.13.3.