Zend Framework
1.12
|
Public Member Functions | |
__construct ($application) | |
Constructor. | |
run () | |
Run the application. | |
setResourceLoader (Zend_Loader_Autoloader_Resource $loader) | |
Set module resource loader. | |
getResourceLoader () | |
Retrieve module resource loader. | |
getAppNamespace () | |
Get application namespace (used for module autoloading) | |
setAppNamespace ($value) | |
Set application namespace (for module autoloading) | |
![]() | |
__construct ($application) | |
Constructor. | |
setOptions (array $options) | |
Set class state. | |
getOptions () | |
Get current options from bootstrap. | |
hasOption ($key) | |
Is an option present? | |
getOption ($key) | |
Retrieve a single option. | |
mergeOptions (array $array1, $array2=null) | |
Merge options recursively. | |
getClassResources () | |
Get class resources (as resource/method pairs) | |
getClassResourceNames () | |
Get class resource names. | |
registerPluginResource ($resource, $options=null) | |
Register a new resource plugin. | |
unregisterPluginResource ($resource) | |
Unregister a resource from the bootstrap. | |
hasPluginResource ($resource) | |
Is the requested plugin resource registered? | |
getPluginResource ($resource) | |
Get a registered plugin resource. | |
getPluginResources () | |
Retrieve all plugin resources. | |
getPluginResourceNames () | |
Retrieve plugin resource names. | |
setPluginLoader (Zend_Loader_PluginLoader_Interface $loader) | |
Set plugin loader for loading resources. | |
getPluginLoader () | |
Get the plugin loader for resources. | |
setApplication ($application) | |
Set application/parent bootstrap. | |
getApplication () | |
Retrieve parent application instance. | |
getEnvironment () | |
Retrieve application environment. | |
setContainer ($container) | |
Set resource container. | |
getContainer () | |
Retrieve resource container. | |
hasResource ($name) | |
Determine if a resource has been stored in the container. | |
getResource ($name) | |
Retrieve a resource from the container. | |
__get ($prop) | |
Implement PHP's magic to retrieve a ressource in the bootstrap. | |
__isset ($prop) | |
Implement PHP's magic to ask for the existence of a ressource in the bootstrap. | |
bootstrap ($resource=null) | |
Bootstrap individual, all, or multiple resources. | |
__call ($method, $args) | |
Overloading: intercept calls to bootstrap<resourcename>() methods. | |
Protected Attributes | |
$_appNamespace = false | |
$_resourceLoader | |
![]() | |
$_application | |
$_classResources | |
$_container | |
$_environment | |
$_optionKeys = array() | |
$_options = array() | |
$_pluginLoader | |
$_pluginResources = array() | |
$_run = array() | |
$_started = array() | |
Additional Inherited Members | |
![]() | |
_bootstrap ($resource=null) | |
Bootstrap implementation. | |
_executeResource ($resource) | |
Execute a resource. | |
_loadPluginResource ($resource, $options) | |
Load a plugin resource. | |
_markRun ($resource) | |
Mark a resource as having run. | |
_resolvePluginResourceName ($resource) | |
Resolve a plugin resource name. | |
__construct | ( | $application | ) |
Constructor.
Ensure FrontController resource is registered
Zend_Application | Zend_Application_Bootstrap_Bootstrapper | $application |
Implements Zend_Application_Bootstrap_Bootstrapper.
getAppNamespace | ( | ) |
Get application namespace (used for module autoloading)
getResourceLoader | ( | ) |
Retrieve module resource loader.
run | ( | ) |
Run the application.
Checks to see that we have a default controller directory. If not, an exception is thrown.
If so, it registers the bootstrap with the 'bootstrap' parameter of the front controller, and dispatches the front controller.
Zend_Application_Bootstrap_Exception |
Implements Zend_Application_Bootstrap_Bootstrapper.
setAppNamespace | ( | $value | ) |
Set application namespace (for module autoloading)
string |
setResourceLoader | ( | Zend_Loader_Autoloader_Resource | $loader | ) |
Set module resource loader.
Zend_Loader_Autoloader_Resource | $loader |
|
protected |
|
protected |