public function getFilters($extension = null)
    {
        if ($extension === null) {
            return $this->filters;
        }
        elseif (isset($this->filters[$extension])) {
            return $this->filters[$extension];
        }
        else {
            return null;
        }
    }
public function getFilters($extension = null)
    {
        if ($extension === null) {
            return $this->filters;
        }
        elseif (isset($this->filters[$extension])) {
            return $this->filters[$extension];
        }
        else {
            return null;
        }
    }
public function getFilters ( $ extension = null ) { if ( $ extension === null ) { return $ this -> filters ; } elseif ( isset ( $ this -> filters [ $ extension ] ) ) { return $ this -> filters [ $ extension ] ; } else { return null ; } }
Returns filters.
@param string $extension Extension name. Eg: css
@return self
Returns filters .