◆ __construct()
mod_data\output\template_editor_tools::__construct |
( |
manager | $manager, |
|
|
string | $templatename ) |
The class constructor.
- Parameters
-
manager | $manager | the activity instance manager |
string | $templatename | the template to edit |
◆ export_for_template()
mod_data\output\template_editor_tools::export_for_template |
( |
\renderer_base | $output | ) |
|
Export the data for the mustache template.
- Parameters
-
renderer_base | $output | renderer to be used to render the action bar elements. |
- Return values
-
◆ get_action_tags()
mod_data\output\template_editor_tools::get_action_tags |
( |
string | $templatename | ) |
|
|
protected |
Return the field action tags.
- Parameters
-
string | $templatename | the template name |
- Return values
-
◆ get_field_info_tags()
mod_data\output\template_editor_tools::get_field_info_tags |
( |
string | $templatename | ) |
|
|
protected |
Return the field information template tags.
- Parameters
-
string | $templatename | the template name |
- Return values
-
◆ get_field_tags()
mod_data\output\template_editor_tools::get_field_tags |
( |
string | $templatename | ) |
|
|
protected |
Return the field template tags.
- Parameters
-
string | $templatename | the template name |
- Return values
-
◆ get_optgroup_data()
mod_data\output\template_editor_tools::get_optgroup_data |
( |
string | $name, |
|
|
array | $taglist ) |
|
protected |
Generate a valid optgroup data.
- Parameters
-
string | $name | the optgroup name |
array | $taglist | the indexed array of taglists ($tag => $tagname) |
- Return values
-
◆ get_other_tags()
mod_data\output\template_editor_tools::get_other_tags |
( |
string | $templatename | ) |
|
|
protected |
Return the available other tags.
- Parameters
-
string | $templatename | the template name |
- Return values
-
array | associative array of tags => tag name |
The documentation for this class was generated from the following file:
- mod/data/classes/output/template_editor_tools.php