4 * An individual filter in a ChangesListStringOptionsFilterGroup.
6 * This filter type will only be displayed on the structured UI currently.
10 class ChangesListStringOptionsFilter
extends ChangesListFilter
{
14 public function displaysOnUnstructuredUi() {
21 public function isSelected( FormOptions
$opts ) {
22 $option = $opts[ $this->getGroup()->getName() ];
23 if ( $option === ChangesListStringOptionsFilterGroup
::ALL
) {
27 $values = explode( ChangesListStringOptionsFilterGroup
::SEPARATOR
, $option );
28 return in_array( $this->getName(), $values );