|
| __construct ($page) |
| Create new instance of mustache javascript helper.
|
|
| help ($text, Mustache_LambdaHelper $helper) |
| Add the block of text to the page requires so it is appended in the footer.
|
|
◆ __construct()
core\output\mustache_javascript_helper::__construct |
( |
| $page | ) |
|
Create new instance of mustache javascript helper.
- Parameters
-
◆ help()
Add the block of text to the page requires so it is appended in the footer.
The content of the block can contain further mustache tags which will be resolved.
This function will always return an empty string because the JS is added to the page via the requirements manager.
- Parameters
-
string | $text | The script content of the section. |
Mustache_LambdaHelper | $helper | Used to render the content of this block. |
- Return values
-
string | The text of the block |
The documentation for this class was generated from the following file:
- lib/classes/output/mustache_javascript_helper.php