The ezcssfiles 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, ezcss_require, ezcss_load.
Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
css_array | array | yes | array() |
pack_level | integer | no | 3 |
ignore_loaded | bool | no | false |
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|ezcssfiles( array(), 3, true() )In a shipped template
The first use in the templates of this installation, extension/ezoe/design/standard/templates/content/datatype/edit/ezxmltext_ezoe.tpl line 125:
theme_ez_editor_css : 'ezcssfiles( $editor_css_list, 3, true() )|implode(',')',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.