|
const | ANYVALUE = '__ANYVALUE__' |
| Any Value.
|
|
◆ add_filter_to_form()
static tool_usertours\local\filter\course::add_filter_to_form |
( |
\MoodleQuickForm & | $mform | ) |
|
|
static |
◆ filter_matches()
static tool_usertours\local\filter\course::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\course::get_filter_name |
( |
| ) |
|
|
static |
◆ get_filter_options()
static tool_usertours\local\filter\base::get_filter_options |
( |
| ) |
|
|
staticinherited |
◆ prepare_filter_values_for_form()
static tool_usertours\local\filter\course::prepare_filter_values_for_form |
( |
tour | $tour, |
|
|
stdClass | $data ) |
|
static |
Overrides the base prepare the filter values for the form with an integer value.
- Parameters
-
tour | $tour | The tour to prepare values from |
stdClass | $data | The data value |
- Return values
-
Reimplemented from tool_usertours\local\filter\base.
◆ save_filter_values_from_form()
static tool_usertours\local\filter\course::save_filter_values_from_form |
( |
tour | $tour, |
|
|
stdClass | $data ) |
|
static |
Overrides the base 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 from tool_usertours\local\filter\base.
The documentation for this class was generated from the following file:
- admin/tool/usertours/classes/local/filter/course.php