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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Application
- Subpackage
- Bootstrap
- Version
- $Id$
\Zend_Application_Bootstrap_Bootstrapper
Package: Zend_Application\Bootstrap
Interface for bootstrap classes
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
__construct(\Zend_Application $application) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$application | \Zend_Application |
bootstrap(null | string $resource = null) : mixed
Bootstrap application or individual resource
Parameters
Returns
Name | Type | Description |
---|---|---|
$resource | null | string |
Type | Description |
---|---|
mixed |
getApplication() : \Zend_Application | \Zend_Application_Bootstrap_Bootstrapper
Retrieve application object
Returns
Type | Description |
---|---|
\Zend_Application | \Zend_Application_Bootstrap_Bootstrapper |
getClassResourceNames() : array
Retrieve list of class resource initializer names (resource names only, no method names)
Returns
Type | Description |
---|---|
array |
getClassResources() : array
Retrieve list of class resource initializers (_init* methods). Returns as resource/method pairs.
Returns
Type | Description |
---|---|
array |
setOptions(array $options) : \Zend_Application_Bootstrap_Bootstrapper
Set bootstrap options
Parameters
Returns
Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_Application_Bootstrap_Bootstrapper |