src/Model/Filter/AbstractFilter.php
protected function _value($data)
    {
        $field = $this->config('name');
        $value = $data[$field];
        if (empty($value) && $this->_defaultDefined()) {
            $value = $this->config('default');
        }

        return $value;
    }
protected function _value($data)
    {
        $field = $this->config('name');
        $value = $data[$field];
        if (empty($value) && $this->_defaultDefined()) {
            $value = $this->config('default');
        }

        return $value;
    }
protected function _value ( $ data ) { $ field = $ this -> config ( 'name' ) ; $ value = $ data [ $ field ] ; if ( empty ( $ value ) && $ this -> _defaultDefined ( ) ) { $ value = $ this -> config ( 'default' ) ; } return $ value ; }
Evaluate value of filter parameter

@param array $data Array of options as described above.
@return mixed
Evaluate value of filter parameter