Class

eZTemplateImageOperator

class eZTemplateImageOperator

Properties

$Operators
$DefaultClass
$FontDir
$CacheDir
$HTMLDir
$Family
$PointSize
$Angle
$XAdjust
$YAdjust
$UseCache
$Colors
$ImageGDSupported
$StoreAs

Methods

__construct(string $texttoimageName = 'texttoimage', string $imageName = 'image', string $imagefileName = 'imagefile')

Initializes the image operator with the operator name $name.

operatorTemplateHints()

modify($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, $inputValue, $namedParameters, $placement)

operatorList()

namedParameterPerOperator()

namedParameterList()

fontDir()

cacheDir()

htmlDir()

family()

pointSize()

angle()

xAdjustment()

yAdjustment()

widthAdjustment()

heightAdjustment()

useCache()

colors()

decodeColor($col)

color($colname)

setFontDir($dir)

setCacheDir($dir)

setHTMLDir($dir)

setFamily($fam)

setPointSize($size)

setAngle($ang)

setXAdjustment($x)

setYAdjustment($y)

setWidthAdjustment($w)

setHeightAdjustment($h)

setUseCache($use)

setColors($cols)

setColor($colname, $colval)

hasImage($dirs, $base, $md5Text, $alternativeText, $imageType)

storeImage($image, $dirs, $base, $md5Text, $alternativeText, $imageType)

setLoadImage($image, $dirs, $base, $md5Text, $alternativeText, $imageType)

loadImage($dirs, $base, $md5Text, $alternativeText, $imageType)

readImageParameters($tpl, $image, $operatorParameters, $rootNamespace, $currentNamespace, $md5Input, $alternativeText, $placement)

Details

at line 32
public __construct(string $texttoimageName = 'texttoimage', string $imageName = 'image', string $imagefileName = 'imagefile')

Initializes the image operator with the operator name $name.

Parameters

string $texttoimageName
string $imageName
string $imagefileName

at line 81
public operatorTemplateHints()

at line 101
public modify($tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, $inputValue, $namedParameters, $placement)

Parameters

$tpl
$operatorName
$operatorParameters
$rootNamespace
$currentNamespace
$inputValue
$namedParameters
$placement

at line 287
public operatorList()

at line 295
public namedParameterPerOperator()

at line 303
public namedParameterList()

at line 354
public fontDir()

at line 363
public cacheDir()

at line 372
public htmlDir()

at line 381
public family()

at line 390
public pointSize()

at line 398
public angle()

at line 407
public xAdjustment()

at line 416
public yAdjustment()

at line 425
public widthAdjustment()

at line 434
public heightAdjustment()

at line 442
public useCache()

at line 450
public colors()

at line 459
public decodeColor($col)

Parameters

$col

at line 475
public color($colname)

Parameters

$colname

at line 489
public setFontDir($dir)

Parameters

$dir

at line 498
public setCacheDir($dir)

Parameters

$dir

at line 507
public setHTMLDir($dir)

Parameters

$dir

at line 515
public setFamily($fam)

Parameters

$fam

at line 523
public setPointSize($size)

Parameters

$size

at line 531
public setAngle($ang)

Parameters

$ang

at line 540
public setXAdjustment($x)

Parameters

$x

at line 549
public setYAdjustment($y)

Parameters

$y

at line 558
public setWidthAdjustment($w)

Parameters

$w

at line 567
public setHeightAdjustment($h)

Parameters

$h

at line 576
public setUseCache($use)

Parameters

$use

at line 585
public setColors($cols)

Parameters

$cols

at line 595
public setColor($colname, $colval)

Parameters

$colname
$colval

at line 600
public hasImage($dirs, $base, $md5Text, $alternativeText, $imageType)

Parameters

$dirs
$base
$md5Text
$alternativeText
$imageType

at line 617
public storeImage($image, $dirs, $base, $md5Text, $alternativeText, $imageType)

Parameters

$image
$dirs
$base
$md5Text
$alternativeText
$imageType

at line 637
public setLoadImage($image, $dirs, $base, $md5Text, $alternativeText, $imageType)

Parameters

$image
$dirs
$base
$md5Text
$alternativeText
$imageType

at line 661
public loadImage($dirs, $base, $md5Text, $alternativeText, $imageType)

Parameters

$dirs
$base
$md5Text
$alternativeText
$imageType

at line 686
public readImageParameters($tpl, $image, $operatorParameters, $rootNamespace, $currentNamespace, $md5Input, $alternativeText, $placement)

Parameters

$tpl
$image
$operatorParameters
$rootNamespace
$currentNamespace
$md5Input
$alternativeText
$placement