MediaWiki  master
MockChangesListFilter Class Reference
Inheritance diagram for MockChangesListFilter:
Collaboration diagram for MockChangesListFilter:

Public Member Functions

 displaysOnUnstructuredUi ()
 
 isSelected (FormOptions $opts)
 
- Public Member Functions inherited from ChangesListFilter
 __construct (array $filterDefinition)
 Creates a new filter with the specified configuration, and registers it to the specified group. More...
 
 activelyInConflictWithFilter (ChangesListFilter $filter, FormOptions $opts)
 Check if the conflict with a filter is currently "active". More...
 
 activelyInConflictWithGroup (ChangesListFilterGroup $group, FormOptions $opts)
 Check if the conflict with a group is currently "active". More...
 
 applyCssClassIfNeeded (IContextSource $ctx, RecentChange $rc, array &$classes)
 Add CSS class if needed. More...
 
 conflictsWith ( $other, $globalKey, $forwardKey, $backwardKey)
 Marks that the given ChangesListFilterGroup or ChangesListFilter conflicts with this object. More...
 
 displaysOnStructuredUi ()
 Checks whether the filter should display on the structured UI This refers to the exact filter. More...
 
 displaysOnUnstructuredUi ()
 Checks whether the filter should display on the unstructured UI. More...
 
 getConflictingFilters ()
 Get filters conflicting with this filter. More...
 
 getConflictingGroups ()
 Get groups conflicting with this filter. More...
 
 getDescription ()
 
 getGroup ()
 
 getJsData ()
 Gets the JS data required by the front-end of the structured UI. More...
 
 getLabel ()
 
 getName ()
 
 getPriority ()
 
 isFeatureAvailableOnStructuredUi ()
 Checks whether an equivalent feature for this filter is available on the structured UI. More...
 
 isSelected (FormOptions $opts)
 Checks whether this filter is selected in the provided options. More...
 
 setAsSupersetOf (ChangesListFilter $other)
 Marks that the current instance is (also) a superset of the filter passed in. More...
 
 setDefaultHighlightColor ( $defaultHighlightColor)
 
 setUnidirectionalConflict ( $other, $globalDescription, $contextDescription)
 Marks that the given ChangesListFilterGroup or ChangesListFilter conflicts with this object. More...
 

Additional Inherited Members

- Public Attributes inherited from ChangesListFilter
const RESERVED_NAME_CHAR = '_'
 
- Protected Member Functions inherited from ChangesListFilter
 getCssClass ()
 Gets the CSS class. More...
 
 getSiblings ()
 Get filters in the same group. More...
 
- Protected Attributes inherited from ChangesListFilter
 $conflictingFilters = []
 Array of associative arrays with conflict information. More...
 
 $conflictingGroups = []
 Array of associative arrays with conflict information. More...
 
 $cssClassSuffix
 CSS class suffix used for attribution, e.g. More...
 
 $defaultHighlightColor
 
 $description
 i18n key of description for structured UI More...
 
 $group
 Group. More...
 
 $isRowApplicableCallable
 Callable that returns true if and only if a row is attributed to this filter. More...
 
 $label
 i18n key of label for structured UI More...
 
 $name
 Filter name. More...
 
 $priority
 Priority integer. More...
 
 $subsetFilters = []
 Array of associative arrays with subset information. More...
 

Detailed Description

Definition at line 3 of file MockChangesListFilter.php.

Member Function Documentation

◆ displaysOnUnstructuredUi()

MockChangesListFilter::displaysOnUnstructuredUi ( )

Definition at line 4 of file MockChangesListFilter.php.

◆ isSelected()

MockChangesListFilter::isSelected ( FormOptions  $opts)

Definition at line 12 of file MockChangesListFilter.php.


The documentation for this class was generated from the following file: