API Documentation

Application/Bootstrap/Bootstrap.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Application
subpackage
Bootstrap
version
$Id: Bootstrap.php 20886 2010-02-03 19:36:06Z matthew $
Classes
Zend_Application_Bootstrap_Bootstrap

Description

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.

Zend_Application_Bootstrap_Bootstrap

Extends from
Zend_Application_Bootstrap_BootstrapAbstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Application
subpackage
Bootstrap
uses
Zend_Application_Bootstrap_Bootstrap
Properties
$_appNamespace
$_resourceLoader
Methods
__construct
run
setResourceLoader
getResourceLoader
getAppNamespace
setAppNamespace

Description

Concrete base class for bootstrap classes

Registers and utilizes Zend_Controller_Front by default.

Properties

$_appNamespace

false|string $_appNamespace = 'false'

Application resource namespace

Details

$_appNamespace
false|string
visibility
protected
default
false
final
false
static
false

$_resourceLoader

Zend_Loader_Autoloader_Resource $_resourceLoader = ''

Application resource autoloader

Details

$_resourceLoader
Zend_Loader_Autoloader_Resource
visibility
protected
default
final
false
static
false

Methods

__construct

__construct( Zend_Application|Zend_Application_Bootstrap_Bootstrapper $application ) : void

Constructor

Ensure FrontController resource is registered

Arguments
$application
Zend_ApplicationZend_Application_Bootstrap_Bootstrapper
Details
visibility
public
final
false
static
false

getAppNamespace

getAppNamespace( ) : string

Get application namespace (used for module autoloading)

Output
string
Details
visibility
public
final
false
static
false

getResourceLoader

getResourceLoader( ) : Zend_Loader_Autoloader_Resource

Retrieve module resource loader

Details
visibility
public
final
false
static
false

run

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.

Output
mixed
Details
visibility
public
final
false
static
false
throws

setAppNamespace

setAppNamespace(  $value ) : Zend_Application_Bootstrap_Bootstrap

Set application namespace (for module autoloading)

Arguments
$value
string
Details
visibility
public
final
false
static
false

setResourceLoader

setResourceLoader( Zend_Loader_Autoloader_Resource $loader ) : Zend_Application_Module_Bootstrap

Set module resource loader

Arguments
$loader
Zend_Loader_Autoloader_Resource
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.