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.
Interface for bootstrap classes

__construct(
\Zend_Application $application
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$application | \Zend_Application |

bootstrap(
null|string $resource
=
null
)
:
mixed
Bootstrap application or individual resource
Name | Type | Description |
---|---|---|
$resource | null|string |
Type | Description |
---|---|
mixed |

getApplication(
)
:
\Zend_Application|\Zend_Application_Bootstrap_Bootstrapper
Retrieve application object
Type | Description |
---|---|
\Zend_Application|\Zend_Application_Bootstrap_Bootstrapper |

getClassResourceNames(
)
:
array
Retrieve list of class resource initializer names (resource names only, no method names)
Type | Description |
---|---|
array |

getClassResources(
)
:
array
Retrieve list of class resource initializers (_init* methods). Returns as resource/method pairs.
Type | Description |
---|---|
array |

setOptions(
array $options
)
:
\Zend_Application_Bootstrap_Bootstrapper
Set bootstrap options
Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_Application_Bootstrap_Bootstrapper |