The ezcss template operator
Registered in extension/ezjscore/autoloads/eztemplateautoload.php by the class ezjscPackerTemplateFunctions (extension/ezjscore/autoloads/ezjscpackertemplatefunctions.php).
The same class also registers: ezscript, ezscript_require, ezscript_load, ezscriptfiles, ezcss_require, ezcss_load, ezcssfiles.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
css_array | array | yes | array() |
media | string | no | 'all' |
type | string | no | 'text/css' |
rel | string | no | 'stylesheet' |
charset | string | no | '' |
pack_level | integer | no | 3 |
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|ezcss( array(), 'all', 'text/css', 'stylesheet', 'charset', 3 )Related
Generated by ./console exp:help:examples from extension/ezjscore/autoloads/eztemplateautoload.php, extension/ezjscore/autoloads/ezjscpackertemplatefunctions.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.