\Hazaar\Controller\Response
Image
Summary
Methods Properties Constants
No constants
Properties
$quality
$quality
Inherited
$file
$file
Inherited
$controller
$controller
Inherited
$headers
$headers
Inherited
$headers_set
$headers_set
Methods
__construct()
__construct($filename = null, $quality = null, $backend = null)

Parameters

$filename

No description

$quality

No description

$backend

No description

encodeDataStream()
encodeDataStream()
expand()
expand($width = null, $height = null, $align = 'topleft', $offsettop = 0, $offsetleft = 0)

Parameters

$width

No description

$height

No description

$align

No description

$offsettop

No description

$offsetleft

No description

filter()
filter($filters)

Parameters

$filters

No description

height()
height()
load()
load($file, $backend = null)

Parameters

$file

No description

$backend

No description

quality()
quality($quality = null)

Parameters

$quality

No description

resize()
resize($width = null, $height = null, $crop = false, $align = null, $keep_aspect = true, $reduce_only = true, $ratio = null, $offsetTop = 0, $offsetLeft = 0)

Parameters

$width

No description

$height

No description

$crop

No description

$align

No description

$keep_aspect

No description

$reduce_only

No description

$ratio

No description

$offsetTop

No description

$offsetLeft

No description

setContent()
setContent($data)

Parameters

$data

No description

setFormat()
setFormat($format)

Parameters

$format

No description

width()
width()
Inherited
replace()
replace($pattern, $replacement, $limit = 1, $count = null)

Parameters

$pattern

No description

$replacement

No description

$limit

No description

$count

No description

Inherited
setContent()
setContent($data, $content_type = null)

Parameters

$data

No description

$content_type

No description

Inherited
setDownloadable()
setDownloadable($toggle = true, $filename = null)

Parameters

$toggle

No description

$filename

No description

Inherited
setLastModified()
setLastModified($fmdate)

Parameters

$fmdate

No description

Inherited
setUnmodified()
setUnmodified($ifModifiedSince)

Parameters

$ifModifiedSince

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