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.
Concrete base class for bootstrap classes
Registers and utilizes Zend_Controller_Front by default.

false|string
$_appNamespace= 'false'
Application resource namespace
false
Details
__construct(
\Zend_Application|\Zend_Application_Bootstrap_Bootstrapper $application
)
:
void
Constructor
Ensure FrontController resource is registered
Name | Type | Description |
---|---|---|
$application | \Zend_Application|\Zend_Application_Bootstrap_Bootstrapper |

getAppNamespace(
)
:
string
Get application namespace (used for module autoloading)
Type | Description |
---|---|
string |

getResourceLoader(
)
:
\Zend_Loader_Autoloader_Resource
Retrieve module resource loader
Type | Description |
---|---|
\Zend_Loader_Autoloader_Resource |

run(
)
:
mixed
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.
Type | Description |
---|---|
mixed |
Exception | Description |
---|---|
\Zend_Application_Bootstrap_Exception |

setAppNamespace(
$value
)
:
\Zend_Application_Bootstrap_Bootstrap
Set application namespace (for module autoloading)
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Application_Bootstrap_Bootstrap |

setResourceLoader(
\Zend_Loader_Autoloader_Resource $loader
)
:
\Zend_Application_Module_Bootstrap
Set module resource loader
Name | Type | Description |
---|---|---|
$loader | \Zend_Loader_Autoloader_Resource |
Type | Description |
---|---|
\Zend_Application_Module_Bootstrap |