\tickyresponse

Summary

Methods
Properties
Constants
setStatusCode()
getStatusCode()
setHeader()
setContentType()
noCache()
redirect()
download()
view()
ajax()
cli()
$statusCode
$headers
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$statusCode

$statusCode : 

Type

$headers

$headers : 

Type

Methods

setStatusCode()

setStatusCode(  $code) 

Parameters

$code

getStatusCode()

getStatusCode() 

setHeader()

setHeader(  $name,   $value) 

Parameters

$name
$value

setContentType()

setContentType(  $mime,   $charset = 'UTF-8') 

Parameters

$mime
$charset

noCache()

noCache() 

redirect()

redirect(  $uri,   $refresh) 

Parameters

$uri
$refresh

download()

download(  $file,   $name = null) 

Parameters

$file
$name

view()

view(  $viewFile,   $data = array()) 

Parameters

$viewFile
$data

ajax()

ajax(  $data,   $type = 'json') 

Parameters

$data
$type

cli()

cli(  $message,   $type = null) 

Parameters

$message
$type