RequestResponseHandler
in package
Base class for the response and request objects
Table of Contents
- $booter : z_framework
- __construct() : mixed
- Constructor that every request and response object should have
- getBooterSettings() : mixed
- Gets a booter setting
- getModel() : z_model
- Gets the database communication interface
- getZControllers() : string
- Returns the ZControllers directory
- getZRoot() : string
- Returns the framework root directory
- getZViews() : string
- Returns the ZViews directory
Properties
$booter
public
z_framework
$booter
The framework object
Methods
__construct()
Constructor that every request and response object should have
public
__construct(z_framework $booter) : mixed
Parameters
- $booter : z_framework
-
The framework object
Return values
mixed —getBooterSettings()
Gets a booter setting
public
getBooterSettings([string $key = null ][, mixed $useDefault = true ][, mixed $default = null ]) : mixed
Parameters
- $key : string = null
-
Key of the setting
- $useDefault : mixed = true
- $default : mixed = null
Return values
mixed —Value of the key
getModel()
Gets the database communication interface
public
getModel() : z_model
Return values
z_model —getZControllers()
Returns the ZControllers directory
public
getZControllers() : string
Return values
string —getZRoot()
Returns the framework root directory
public
getZRoot() : string
Return values
string —getZViews()
Returns the ZViews directory
public
getZViews() : string