Go to the documentation of this file.
17 const TYPE =
'send_unselected_if_any';
42 $groupDefinition[
'isFullCoverage'] =
true;
45 parent::__construct( $groupDefinition );
69 &$tables, &$fields, &$conds, &$query_options, &$join_conds,
74 if (
$filter->isActive( $opts, $isStructuredFiltersEnabled ) ) {
75 $filter->modifyQuery(
$dbr, $specialPage, $tables, $fields, $conds,
76 $query_options, $join_conds );
87 $defaultValue = $allowDefaults ?
$filter->getDefault( $isStructuredFiltersEnabled ) :
false;
88 $opts->
add(
$filter->getName(), $defaultValue );
Special page which uses a ChangesList to show query results.
Represents a hide-based boolean filter (used on ChangesListSpecialPage and descendants)
Represents a filter group (used on ChangesListSpecialPage and descendants)
registerFilter(ChangesListBooleanFilter $filter)
Registers a filter in this group.
__construct(array $groupDefinition)
Create a new filter group with the specified configuration.
modifyQuery(IDatabase $dbr, ChangesListSpecialPage $specialPage, &$tables, &$fields, &$conds, &$query_options, &$join_conds, FormOptions $opts, $isStructuredFiltersEnabled)
Modifies the query to include the filter group.The modification is only done if the filter group is i...
If the group is active, any unchecked filters will translate to hide parameters in the URL.
const TYPE
Type marker, used by JavaScript.
createFilter(array $filterDefinition)
Creates a filter of the appropriate type for this group, from the definition.Filter definition Change...
addOptions(FormOptions $opts, $allowDefaults, $isStructuredFiltersEnabled)
All the options represented by this filter group to $opts.