Documentation

RequestResponseHandler
in package
Uses CanRetrieveModel, CanRetrieveBooterSettings

Base class for the response and request objects

Table of Contents

$booter  : ZubZet
__construct()  : mixed
getBooterSettings()  : mixed
Gets a booter setting
getModel()  : Model
Returns a model
getZRoot()  : string
Returns the framework root directory
getZViews()  : string
Returns the ZViews directory

Properties

Methods

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()

Returns a model

public getModel(string $model[, string $dir = null ]) : Model
Parameters
$model : string

Name of the model

$dir : string = null

Set this when the model is stored in a specific directory

Return values
Model

The model

getZRoot()

Returns the framework root directory

public getZRoot() : string
Return values
string

Search results