Zend_Application_Bootstrap_Bootstrapper is the base interface
all bootstrap classes must implement. The base functionality is aimed at
configuration, identifying resources, bootstrapping (either individual
resources or the entire application), and dispatching the application.
The following methods make up the definition of the interface.
Table 4. Zend_Application_Bootstrap_Bootstrapper Interface
| Method | Return Value | Parameters | Description |
|---|---|---|---|
__construct($application) |
Void |
|
Constructor. Accepts a single argument, which should be a
|
setOptions(array $options) |
Zend_Application_Bootstrap_Bootstrapper |
|
Typically, any option that has a matching setter will invoke that setter; otherwise, the option will simply be stored for later retrieval. |
getApplication() |
Zend_Application |
Zend_Application_Bootstrap_Bootstrapper
|
N/A |
Retrieve the application or bootstrap object passed via the constructor. |
getEnvironment() |
String | N/A |
Retrieve the environment string registered with the parent application or bootstrap object. |
getClassResources() |
Array | N/A |
Retrieve a list of available resource initializer names as defined in the class. This may be implementation specific. |
bootstrap($resource = null) |
Mixed |
|
If |
run() |
Void | N/A |
Defines what application logic to run after bootstrapping. |




