The texttoimage template operator
Registered in lib/eztemplate/classes/eztemplateautoload.php by the class eZTemplateImageOperator (lib/eztemplate/classes/eztemplateimageoperator.php).
The same class also registers: image, imagefile.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
class | string | no | 'default' |
family | string | no | null |
pointsize | integer | no | null |
angle | integer | no | null |
bgcolor | mixed | no | null |
textcolor | mixed | no | null |
x | integer | no | null |
y | integer | no | null |
w | integer | no | null |
h | integer | no | null |
usecache | boolean | no | null |
storeimage | boolean | no | true |
The operator works on its input: the value before |.
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|texttoimage( 'default', 'family', 1, 1, $bgcolor, $textcolor, 1, 1, 1, 1, true(), true() )Related
Generated by ./console exp:help:examples from lib/eztemplate/classes/eztemplateautoload.php, lib/eztemplate/classes/eztemplateimageoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.