\Hazaar\Controller
Error
Basic controller class

This controller does basic stuff

Summary
Methods Properties Constants
url
No constants
Properties
$callstack
$callstack
$code
$code
$errclass
$errclass
$errcontext
$errcontext
$errfile
$errfile
$errline
$errline
$errno
$errno
$errstr
$errstr
$errtype
$errtype
$response
$response
$short_message
$short_message
$status
$status
$status_codes
$status_codes
$type
$type
Methods
__initialize()
__initialize($request = null)

Parameters

$request

No description

__run()
__run()
clean_output_buffer()
clean_output_buffer()
getErrorMessage()
getErrorMessage()
getStatusMessage()
getStatusMessage($code = null)

Parameters

$code

No description

getTrace()
getTrace()
loadStatusCodes()
loadStatusCodes()
setError()
setError()
Inherited
setRequest()
setRequest($request)

Parameters

$request

No description

Inherited
setStatus()
setStatus($code)

Parameters

$code

No description

Inherited
url()
url()
Generate a URL relative to the controller

This is the controller relative method for generating URLs in your application. URLs generated from here are relative to the controller. For URLs that are relative to the current application see Application::url()

Parameters are dynamic and depend on what you are trying to generate.

For examples see: \ref generating_urls