Documentation

RequestResponseHandler
in package

Base class for the response and request objects

Table of Contents

$booter  : ZubZet
__construct()  : mixed
Constructor that every request and response object should have
getBooterSettings()  : mixed
Gets a booter setting
getModel()  : 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

Methods

__construct()

Constructor that every request and response object should have

public __construct(ZubZet $booter) : mixed
Parameters
$booter : ZubZet

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

getZControllers()

Returns the ZControllers directory

public getZControllers() : string
Return values
string

getZRoot()

Returns the framework root directory

public getZRoot() : string
Return values
string

Search results