|
string | $component |
| Component name, the same as in get_string()
|
|
string | $identifier |
| lang pack identifier (without the "_help" suffix), both get_string($identifier, $component) and get_string($identifier. More...
|
|
string | $linktext = null |
| Extra descriptive text next to the icon.
|
|
◆ __construct()
help_icon::__construct |
( |
|
$identifier, |
|
|
|
$component |
|
) |
| |
Constructor.
- Parameters
-
string | $identifier | string for help page title, string with _help suffix is used for the actual help text. string with _link suffix is used to create a link to further info (if it exists) |
string | $component | |
◆ export_for_template()
Export this data so it can be used as the context for a mustache template.
- Parameters
-
renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
- Return values
-
Implements templatable.
◆ $identifier
string help_icon::$identifier |
lang pack identifier (without the "_help" suffix), both get_string($identifier, $component) and get_string($identifier.
'_help', $component) must exist.
The documentation for this class was generated from the following file: