The flag_icon template operator
Registered in kernel/common/eztemplateautoload.php by the class eZWordToImageOperator (kernel/common/ezwordtoimageoperator.php).
The same class also registers: wordtoimage, mimetype_icon, class_icon, classgroup_icon, action_icon, icon, icon_info.
Parameters
The class does not describe its parameters (no namedParameterList()); see its source for what it reads.
Example
Built from the parameter list above; the values are placeholders (the operator's template hints decide whether it takes an input).
$value|flag_iconIn a shipped template
The first use in the templates of this installation, design/admin/override/templates/template_look_edit.tpl line 57:
$translation_list[$language_index].locale.intl_language_name <img src="$translation_list[$language_index].language_code|flag_icon" width="18" height="12" class="a4-flag" alt="$translation_list[$language_index].language_code" />Related
Generated by ./console exp:help:examples from kernel/common/eztemplateautoload.php, kernel/common/ezwordtoimageoperator.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.