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_Loader_Autoloader $_autoloader = ''
Autoloader to use
Zend_Application_Bootstrap_BootstrapAbstract $_bootstrap = ''
Bootstrap
string $_environment = ''
Application environment
array $_optionKeys = 'array'
Flattened (lowercase) option keys
array $_options = 'array'
Options for Zend_Application
__construct(
string $environment, string|array|Zend_Config $options
=
null
)
:
void
Constructor
Initialize application. Potentially initializes include_paths, PHP settings, and bootstrap class.
_loadConfig(
string $file
)
:
array
Load configuration file of options
bootstrap(
null|string|array $resource
=
null
)
:
Zend_Application
Bootstrap application
getAutoloader(
)
:
Zend_Loader_Autoloader
Retrieve autoloader instance
getBootstrap(
)
:
Zend_Application_Bootstrap_BootstrapAbstract
Get bootstrap object
getEnvironment(
)
:
string
Retrieve current environment
getOption(
string $key
)
:
mixed
Retrieve a single option
getOptions(
)
:
array
Retrieve application options (for caching)
hasOption(
string $key
)
:
bool
Is an option present?
mergeOptions(
array $array1, mixed $array2
=
null
)
:
array
Merge options recursively
run(
)
:
void
Run the application
setAutoloaderNamespaces(
array $namespaces
)
:
Zend_Application
Set autoloader namespaces
setBootstrap(
string $path, string $class
=
null
)
:
Zend_Application
Set bootstrap path/class
setIncludePaths(
array $paths
)
:
Zend_Application
Set include path
setOptions(
array $options
)
:
Zend_Application
Set application options
setPhpSettings(
array $settings, string $prefix
)
:
Zend_Application
Set PHP configuration settings