|
Moodle APIs 4.2
Moodle 4.2.7 (Build: 20240422)
|
Wrap content in quotes, and escape all special JSON characters used. More...
Public Member Functions | |
| quote ($text, Mustache_LambdaHelper $helper) | |
| Wrap content in quotes, and escape all special JSON characters used. | |
Wrap content in quotes, and escape all special JSON characters used.
| core\output\mustache_quote_helper::quote | ( | $text, | |
| Mustache_LambdaHelper | $helper | ||
| ) |
Wrap content in quotes, and escape all special JSON characters used.
Note: This helper is only compatible with the standard {{ }} delimeters.
| string | $text | The text to parse for arguments. |
| Mustache_LambdaHelper | $helper | Used to render nested mustache variables. |
| string |