\IZON\Thumber\ImageImageUrlBuilder

ImageUrlBuilder

Summary

Methods
Properties
Constants
setPath()
buildUrl()
fromArray()
No public properties found
No constants found
getImageLocationString()
$path
N/A
No private methods found
No private properties found
N/A

Properties

$path

$path : string

Type

string

Methods

setPath()

setPath(string  $path) 

Sets path to image lazy controller.

Parameters

string $path

buildUrl()

buildUrl(\IZON\Thumber\ImageConfiguration\IImageConfiguration  $config) : string

Create URL to controller with params.

Parameters

\IZON\Thumber\ImageConfiguration\IImageConfiguration $config

Returns

string

fromArray()

fromArray(array  $params) : \IZON\Thumber\ImageConfiguration\IImageConfiguration

Creates image config from parameters in given array.

Parameters

array $params

Returns

\IZON\Thumber\ImageConfiguration\IImageConfiguration

getImageLocationString()

getImageLocationString(\IZON\IO\Image  $image) : string

Gets image location after www folder.

To prevent displaying file system path in URLs on web.

Parameters

\IZON\IO\Image $image

Returns

string