Theme filter.
More...
|
const | ANYVALUE = '__ANYVALUE__' |
| Any Value.
|
|
◆ add_filter_to_form()
static tool_usertours\local\filter\base::add_filter_to_form |
( |
\MoodleQuickForm & |
$mform | ) |
|
|
staticinherited |
◆ filter_matches()
static tool_usertours\local\filter\theme::filter_matches |
( |
tour |
$tour, |
|
|
context |
$context |
|
) |
| |
|
static |
Check whether the filter matches the specified tour and/or context.
- Parameters
-
tour | $tour | The tour to check |
context | $context | The context to check |
- Return values
-
Reimplemented from tool_usertours\local\filter\base.
◆ get_filter_name()
static tool_usertours\local\filter\theme::get_filter_name |
( |
| ) |
|
|
static |
◆ get_filter_options()
static tool_usertours\local\filter\theme::get_filter_options |
( |
| ) |
|
|
static |
Retrieve the list of available filter options.
- Return values
-
array | An array whose keys are the valid options And whose values are the values to display |
Reimplemented from tool_usertours\local\filter\base.
◆ prepare_filter_values_for_form()
static tool_usertours\local\filter\base::prepare_filter_values_for_form |
( |
tour |
$tour, |
|
|
stdClass |
$data |
|
) |
| |
|
staticinherited |
Prepare the filter values for the form.
- Parameters
-
tour | $tour | The tour to prepare values from |
stdClass | $data | The data value |
- Return values
-
Reimplemented in tool_usertours\local\filter\course.
◆ save_filter_values_from_form()
static tool_usertours\local\filter\base::save_filter_values_from_form |
( |
tour |
$tour, |
|
|
stdClass |
$data |
|
) |
| |
|
staticinherited |
Save the filter values from the form to the tour.
- Parameters
-
tour | $tour | The tour to save values to |
stdClass | $data | The data submitted in the form |
Reimplemented in tool_usertours\local\filter\course.
The documentation for this class was generated from the following file:
- admin/tool/usertours/classes/local/filter/theme.php