private function getApplyValue()
    {
        $value = $this->getValue();

        if (is_array($this->getApplyFilterValue())) {
            $value = $this->getApplyFilterValue();
        }

        if (is_array($value) && count($value) == 1) {
            $value = current($value);
        }

        return $value;
    }
private function getApplyValue()
    {
        $value = $this->getValue();

        if (is_array($this->getApplyFilterValue())) {
            $value = $this->getApplyFilterValue();
        }

        if (is_array($value) && count($value) == 1) {
            $value = current($value);
        }

        return $value;
    }
private function getApplyValue ( ) { $ value = $ this -> getValue ( ) ; if ( is_array ( $ this -> getApplyFilterValue ( ) ) ) { $ value = $ this -> getApplyFilterValue ( ) ; } if ( is_array ( $ value ) && count ( $ value ) == 1 ) { $ value = current ( $ value ) ; } return $ value ; }
Return the value used to apply the filter.

@return string|array
Return the value used to apply the filter .