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
DetailsZend_Loader_Autoloader_Resource $_resourceLoader = ''Application resource autoloader
Details__construct(
Zend_Application|Zend_Application_Bootstrap_Bootstrapper $application
)
:
voidConstructor
Ensure FrontController resource is registered
DetailsgetAppNamespace(
)
:
stringGet application namespace (used for module autoloading)
DetailsgetResourceLoader(
)
:
Zend_Loader_Autoloader_ResourceRetrieve module resource loader
Detailsrun(
)
:
mixedRun 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.
DetailssetAppNamespace(
$value
)
:
Zend_Application_Bootstrap_BootstrapSet application namespace (for module autoloading)
DetailssetResourceLoader(
Zend_Loader_Autoloader_Resource $loader
)
:
Zend_Application_Module_BootstrapSet module resource loader
Details