Participants table filterset.
More...
|
int const | JOINTYPE_ALL = 2 |
| All of the following match.
|
|
int const | JOINTYPE_ANY = 1 |
| Any of the following match.
|
|
int const | JOINTYPE_DEFAULT = 2 |
| The default filter type (ALL)
|
|
int const | JOINTYPE_NONE = 0 |
| None of the following match.
|
|
|
array | $filters = [] |
| The list of active filters.
|
|
array | $filtertypes = null |
| The list of combined filter types.
|
|
int | $jointype = null |
| The join type currently in use.
|
|
int[] | $jointypes |
| valid join types
|
|
◆ add_filter()
core_table\local\filter\filterset::add_filter |
( |
filter | $filter | ) |
|
|
inherited |
Add the specified filter.
- Parameters
-
- Return values
-
◆ add_filter_from_params()
core_table\local\filter\filterset::add_filter_from_params |
( |
string | $filtername, |
|
|
| ... ) |
|
inherited |
Add the specified filter from the supplied params.
- Parameters
-
string | $filtername | The name of the filter to create |
| mixed[] | ...$args Additional arguments used to create this filter type |
- Return values
-
◆ check_validity()
core_table\local\filter\filterset::check_validity |
( |
| ) |
|
|
inherited |
Confirm whether the filter has been correctly specified.
- Exceptions
-
◆ get_all_filtertypes()
core_table\local\filter\filterset::get_all_filtertypes |
( |
| ) |
|
|
inherited |
Get all filter valid types in an array of filtername => filter class type.
- Return values
-
◆ get_filter()
core_table\local\filter\filterset::get_filter |
( |
string | $filtername | ) |
|
|
inherited |
Get the named filter.
- Parameters
-
- Return values
-
◆ get_filters()
core_table\local\filter\filterset::get_filters |
( |
| ) |
|
|
inherited |
Return the current set of filters.
- Return values
-
◆ get_join_type()
core_table\local\filter\filterset::get_join_type |
( |
| ) |
|
|
inherited |
Return the currently specified join type.
- Return values
-
◆ get_optional_filters()
core_user\table\participants_filterset::get_optional_filters |
( |
| ) |
|
Get the optional filters.
These are:
- accesssince;
- enrolments;
- groups;
- keywords;
- country;
- roles; and
- status.
- Return values
-
Reimplemented from core_table\local\filter\filterset.
◆ get_required_filters()
core_user\table\participants_filterset::get_required_filters |
( |
| ) |
|
◆ has_filter()
core_table\local\filter\filterset::has_filter |
( |
string | $filtername | ) |
|
|
inherited |
Check whether the filter has been added or not.
- Parameters
-
- Return values
-
◆ jsonSerialize()
core_table\local\filter\filterset::jsonSerialize |
( |
| ) |
|
|
inherited |
Serialize filterset.
- Return values
-
◆ set_join_type()
core_table\local\filter\filterset::set_join_type |
( |
int | $jointype | ) |
|
|
inherited |
Specify the type of join to employ for the filter.
- Parameters
-
int | $jointype | The join type to use using one of the supplied constants |
- Return values
-
◆ $jointypes
int [] core_table\local\filter\filterset::$jointypes |
|
protectedinherited |
Initial value:= [
]
int const JOINTYPE_NONE
None of the following match.
Definition filterset.php:47
int const JOINTYPE_ALL
All of the following match.
Definition filterset.php:53
int const JOINTYPE_ANY
Any of the following match.
Definition filterset.php:50
valid join types
The documentation for this class was generated from the following file:
- user/classes/table/participants_filterset.php