Base application class

class Jaf_Application

 Methods

Initialize an application

__construct(string $environment, string $appPath, \Jaf_Config $config) 

Parameters

$environment

string

$appPath

string

$config

\Jaf_Config

Exceptions

\Jaf_Exception

Runs the application

run() : \Jaf_Application

Exceptions

\Jaf_Exception

Returns

Process configuration

_configuration() : \Jaf_Application

Create request object

_parseRequest() : \Jaf_Application

Create response object

_prepareResponse() : \Jaf_Application

Add controllers, models directory path to loader include paths

_setupLoader() : \Jaf_Application

 Properties

 

App path string

$_appPath : string

 

Config object

$_config : \Jaf_Config

 

Controller object

$_controller : \Jaf_Controller

 

List of included directories

$_directories : array

 

Environment string

$_environment : string

 

Request object

$_request : \Jaf_Request

 

Response object

$_response : \Jaf_Response

 

View object

$_view : \Jaf_View

 

Default views path (relative to app path)

$_viewsPath : string