Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Static Public Member Functions | |
static | list_templates ($component, $search, $themename='') |
Loads the list of templates. | |
static | list_templates_parameters () |
Returns description of list_templates() parameters. | |
static | list_templates_returns () |
Returns description of list_templates() result value. | |
static | load_canonical_template ($component, $template) |
Return a mustache template. | |
static | load_canonical_template_parameters () |
Returns description of load_canonical_template() parameters. | |
static | load_canonical_template_returns () |
Returns description of load_canonical_template() result value. | |
|
static |
Loads the list of templates.
string | $component | Limit the search to a component. |
string | $search | The search string. |
string | $themename | The name of theme |
array[string] |
|
static |
Returns description of list_templates() parameters.
external_function_parameters |
|
static |
Returns description of list_templates() result value.
core_external\external_description |
|
static |
Return a mustache template.
Note - this function differs from the function core_output_load_template because it will never return a theme overridden version of a template.
string | $component | The component that holds the template. |
string | $template | The name of the template. |
string | the template, false if template doesn't exist. |
|
static |
Returns description of load_canonical_template() parameters.
external_function_parameters |
|
static |
Returns description of load_canonical_template() result value.
core_external\external_description |