MediaWiki REL1_30
|
An individual filter in a ChangesListStringOptionsFilterGroup. More...
Public Member Functions | |
displaysOnUnstructuredUi () | |
@inheritDoc | |
isSelected (FormOptions $opts) | |
@inheritDoc | |
Public Member Functions inherited from ChangesListFilter | |
__construct (array $filterDefinition) | |
Creates a new filter with the specified configuration, and registers it to the specified group. | |
activelyInConflictWithFilter (ChangeslistFilter $filter, FormOptions $opts) | |
Check if the conflict with a filter is currently "active". | |
activelyInConflictWithGroup (ChangesListFilterGroup $group, FormOptions $opts) | |
Check if the conflict with a group is currently "active". | |
applyCssClassIfNeeded (IContextSource $ctx, RecentChange $rc, array &$classes) | |
Add CSS class if needed. | |
conflictsWith ( $other, $globalKey, $forwardKey, $backwardKey) | |
Marks that the given ChangesListFilterGroup or ChangesListFilter conflicts with this object. | |
displaysOnStructuredUi () | |
Checks whether the filter should display on the structured UI This refers to the exact filter. | |
getConflictingFilters () | |
Get filters conflicting with this filter. | |
getConflictingGroups () | |
Get groups conflicting with this filter. | |
getDescription () | |
getGroup () | |
getJsData () | |
Gets the JS data required by the front-end of the structured UI. | |
getLabel () | |
getName () | |
getPriority () | |
isFeatureAvailableOnStructuredUi () | |
Checks whether an equivalent feature for this filter is available on the structured UI. | |
setAsSupersetOf (ChangesListFilter $other) | |
Marks that the current instance is (also) a superset of the filter passed in. | |
setUnidirectionalConflict ( $other, $globalDescription, $contextDescription) | |
Marks that the given ChangesListFilterGroup or ChangesListFilter conflicts with this object. | |
Additional Inherited Members | |
Public Attributes inherited from ChangesListFilter | |
const | RESERVED_NAME_CHAR = '_' |
Protected Member Functions inherited from ChangesListFilter | |
getCssClass () | |
Gets the CSS class. | |
getSiblings () | |
Get filters in the same group. | |
Protected Attributes inherited from ChangesListFilter | |
$conflictingFilters = [] | |
Array of associative arrays with conflict information. | |
$conflictingGroups = [] | |
Array of associative arrays with conflict information. | |
$cssClassSuffix | |
CSS class suffix used for attribution, e.g. | |
$description | |
i18n key of description for structured UI | |
$group | |
Group. | |
$isRowApplicableCallable | |
Callable that returns true if and only if a row is attributed to this filter. | |
$label | |
i18n key of label for structured UI | |
$name | |
Filter name. | |
$priority | |
Priority integer. | |
$subsetFilters = [] | |
Array of associative arrays with subset information. | |
An individual filter in a ChangesListStringOptionsFilterGroup.
This filter type will only be displayed on the structured UI currently.
Definition at line 10 of file ChangesListStringOptionsFilter.php.
ChangesListStringOptionsFilter::displaysOnUnstructuredUi | ( | ) |
@inheritDoc
Reimplemented from ChangesListFilter.
Definition at line 14 of file ChangesListStringOptionsFilter.php.
ChangesListStringOptionsFilter::isSelected | ( | FormOptions | $opts | ) |
@inheritDoc
Reimplemented from ChangesListFilter.
Definition at line 21 of file ChangesListStringOptionsFilter.php.
References ChangesListStringOptionsFilterGroup\ALL, ChangesListFilter\getGroup(), ChangesListFilter\getName(), and ChangesListStringOptionsFilterGroup\SEPARATOR.