public function getFilter($filtername) {
        $filter = null;
        if (!is_null($this->filters) && isset($this->filters[$filtername])) {
            $filter = $this->filters[$filtername];
        }
        return $filter;
    }
public function getFilter($filtername) {
        $filter = null;
        if (!is_null($this->filters) && isset($this->filters[$filtername])) {
            $filter = $this->filters[$filtername];
        }
        return $filter;
    }
public function getFilter ( $ filtername ) { $ filter = null ; if ( ! is_null ( $ this -> filters ) && isset ( $ this -> filters [ $ filtername ] ) ) { $ filter = $ this -> filters [ $ filtername ] ; } return $ filter ; }
Return the filter or null.
@param String $filtername
@return Filter $filter.
Return the filter or null .