src/ShopListFilterBundle/objects/db/ListfilterItems/TPkgShopListfilterItemMultiselect.class.php
public function IsSelected($sItemName)
    {
        $bIsSelected = false;
        if (is_array($this->aActiveFilterData)) {
            $bIsSelected = in_array($sItemName, $this->aActiveFilterData);
        } elseif (!empty($this->aActiveFilterData) && is_string($this->aActiveFilterData)) {
            $bIsSelected = ($sItemName == $this->aActiveFilterData);
        }

        return $bIsSelected;
    }
public function IsSelected($sItemName)
    {
        $bIsSelected = false;
        if (is_array($this->aActiveFilterData)) {
            $bIsSelected = in_array($sItemName, $this->aActiveFilterData);
        } elseif (!empty($this->aActiveFilterData) && is_string($this->aActiveFilterData)) {
            $bIsSelected = ($sItemName == $this->aActiveFilterData);
        }

        return $bIsSelected;
    }
public function IsSelected ( $ sItemName ) { $ bIsSelected = false ; if ( is_array ( $ this -> aActiveFilterData ) ) { $ bIsSelected = in_array ( $ sItemName , $ this -> aActiveFilterData ) ; } elseif ( ! empty ( $ this -> aActiveFilterData ) && is_string ( $ this -> aActiveFilterData ) ) { $ bIsSelected = ( $ sItemName == $ this -> aActiveFilterData ) ; } return $ bIsSelected ; }
return true if the item is selected.

@param string $sItemName

@return bool
return true if the item is selected .