\Hazaar\Controller\Response
Image
Summary
Methods Properties Constants
No constants
Properties
$cache
$cache
$cache_dir
$cache_dir
$cache_enabled
$cache_enabled
$cache_file
$cache_file
$cache_key
$cache_key
$quality
$quality
Methods
__construct()
__construct($filename = null, $quality = null, $backend = null, $enable_image_cache = false)

Parameters

$filename

No description

$quality

No description

$backend

No description

$enable_image_cache

No description

__destruct()
__destruct()
addToCacheKey()
addToCacheKey($key)

Parameters

$key

No description

checkCacheFile()
checkCacheFile($args)

Parameters

$args

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

getCacheKey()
getCacheKey()
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, $content_type = null)

Parameters

$data

No description

$content_type

No description

setFormat()
setFormat($format)

Parameters

$format

No description

width()
width()