\Hazaar\Controller\Response\HTTP
Unauthorized
Summary
Methods Properties Constants
No constants
Properties
Inherited
$content
$content
Inherited
$controller
$controller
Inherited
$headers
$headers
Inherited
$headers_set
$headers_set
Methods
__construct()
__construct($content_type = '"text/html"')

Parameters

$content_type

No description

Inherited
__writeOutput()
__writeOutput() : null
Write the response to the output buffer

Returns

null
Inherited
addContent()
addContent($content)

Parameters

$content

No description

Inherited
clearHeaders()
clearHeaders()
Inherited
enableTidy()
enableTidy($state = true)

Parameters

$state

No description

Inherited
getContent()
getContent()
Inherited
getContentLength()
getContentLength()
Inherited
getContentType()
getContentType()
Quick method to get the content type
Inherited
getHeader()
getHeader($key)

Parameters

$key

No description

Inherited
getStatus()
getStatus()
Inherited
getStatusCode()
getStatusCode()
Inherited
hasContent()
hasContent()
Inherited
ignoreHeaders()
ignoreHeaders()
Inherited
removeHeader()
removeHeader($key)

Parameters

$key

No description

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