◆ __construct()
core\output\mustache_pix_helper::__construct |
( |
renderer_base | $renderer | ) |
|
Save a reference to the renderer.
- Parameters
-
◆ pix()
Read a pix icon name from a template and get it from pix_icon.
{{#pix}}t/edit,component,Anything else is alt text{{/pix}}
The args are comma separated and only the first is required.
- Parameters
-
string | $text | The text to parse for arguments. |
Mustache_LambdaHelper | $helper | Used to render nested mustache variables. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/output/mustache_pix_helper.php