Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

ezcss_load template operator

The ezcss_load template operator: 6 parameter(s), registered by ezjscPackerTemplateFunctions.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/template-operators/ezcss_load.md

On this page

The ezcss_load 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, ezcssfiles.

Parameters

ParameterTypeRequiredDefault
css_arrayarraynoarray()
mediastringno'all'
typestringno'text/css'
relstringno'stylesheet'
charsetstringno''
pack_levelintegerno3

Example

Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).

{$value|ezcss_load( array(), 'all', 'text/css', 'stylesheet', 'charset', 3 )}

In a shipped template

The first use in the templates of this installation, design/admin/templates/page_head_style.tpl line 60:

{ezcss_load()}

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x