\Hazaar\Controller\Response
Json
Implements
Summary
Methods Properties Constants
get
set
No constants
Properties
$callback
$callback
$data
$data
Inherited
$controller
$controller
Inherited
$headers
$headers
Inherited
$headers_set
$headers_set
Methods
__construct()
__construct($data = Array ( ) , $status = 200)

Parameters

$data

No description

$status

No description

__get()
__get($key)

Parameters

$key

No description

__set()
__set($key, $value)

Parameters

$key

No description

$value

No description

get()
get($key)

Parameters

$key

No description

getContent()
getContent()
offsetExists()
offsetExists($key)

Parameters

$key

No description

offsetGet()
offsetGet($key)

Parameters

$key

No description

offsetSet()
offsetSet($key, $value)

Parameters

$key

No description

$value

No description

offsetUnset()
offsetUnset($key)

Parameters

$key

No description

populate()
populate($data)

Parameters

$data

No description

push()
push($data)

Parameters

$data

No description

set()
set($key, $value)

Parameters

$key

No description

$value

No description

setCallback()
setCallback($callback)

Parameters

$callback

No description

toArray()
toArray()
Inherited
setContent()
setContent($content)

Parameters

$content

No description

Inherited
setContentType()
setContentType($type = null)
Quick method to set the content type

Parameters

$type

No description

Inherited
setController()
setController($controller)

Parameters

$controller

No description

Inherited
setHeader()
setHeader($key, $value, $overwrite = true)
Add Header Directive

Parameters

$key

No description

$value

No description

$overwrite

No description

Inherited
setHeaders()
setHeaders($content_length = null)

Parameters

$content_length

No description

Inherited
setStatus()
setStatus($status)

Parameters

$status

No description

Inherited
setStatusCode()
setStatusCode($code)

Parameters

$code

No description