Course format filter.
More...
|
const | ANYVALUE = '__ANYVALUE__' |
| Any Value.
|
|
Course format filter.
- Copyright
- 2017 The Open University
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ add_filter_to_form()
static tool_usertours\local\filter\base::add_filter_to_form |
( |
\MoodleQuickForm & | $mform | ) |
|
|
staticinherited |
◆ filter_matches()
static tool_usertours\local\filter\courseformat::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\courseformat::get_filter_name |
( |
| ) |
|
|
static |
◆ get_filter_options()
static tool_usertours\local\filter\courseformat::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 |
◆ save_filter_values_from_form()
static tool_usertours\local\filter\base::save_filter_values_from_form |
( |
tour | $tour, |
|
|
stdClass | $data ) |
|
staticinherited |
The documentation for this class was generated from the following file:
- admin/tool/usertours/classes/local/filter/courseformat.php