API Documentation

Zend/Application/Bootstrap/Bootstrap.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Application  
Subpackage
Bootstrap  
Version
$Id: Bootstrap.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Application_Bootstrap_Bootstrap

Package: Zend\Application\Bootstrap

Concrete base class for bootstrap classes

Registers and utilizes Zend_Controller_Front by default.

Parent(s)
\Zend_Application_Bootstrap_BootstrapAbstract
Children
\Zend_Application_Module_Bootstrap
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Used_by
\Zend_Application_Module_Bootstrap  
Used_by
\Zend_Application_Bootstrap_Bootstrap  
Uses
\Zend_Application_Bootstrap_Bootstrap  

Properties

Propertyprotectedfalse|string  $_appNamespace= 'false'

Application resource namespace

Default valuefalseDetails
Type
falsestring
Propertyprotected\Zend_Loader_Autoloader_Resource  $_resourceLoader= ''

Application resource autoloader

Methods

methodpublic__construct( \Zend_Application|\Zend_Application_Bootstrap_Bootstrapper $application ) : void

Constructor

Ensure FrontController resource is registered

Parameters
Name Type Description
$application \Zend_Application|\Zend_Application_Bootstrap_Bootstrapper
methodpublicgetAppNamespace( ) : string

Get application namespace (used for module autoloading)

Returns
Type Description
string
methodpublicgetResourceLoader( ) : \Zend_Loader_Autoloader_Resource

Retrieve module resource loader

Returns
Type Description
\Zend_Loader_Autoloader_Resource
methodpublicrun( ) : 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.

Returns
Type Description
mixed
Throws
Exception Description
\Zend_Application_Bootstrap_Exception
methodpublicsetAppNamespace(  $value ) : \Zend_Application_Bootstrap_Bootstrap

Set application namespace (for module autoloading)

Parameters
Name Type Description
$value

string

Returns
Type Description
\Zend_Application_Bootstrap_Bootstrap
methodpublicsetResourceLoader( \Zend_Loader_Autoloader_Resource $loader ) : \Zend_Application_Module_Bootstrap

Set module resource loader

Parameters
Name Type Description
$loader \Zend_Loader_Autoloader_Resource
Returns
Type Description
\Zend_Application_Module_Bootstrap
Documentation was generated by DocBlox 0.15.1.