public function registerFilters ()
    {
        foreach (glob($this->getFiltersDirectoryPath() . '*.php') as $file) {
            $filterName = pathinfo($file, PATHINFO_FILENAME);
            $this->registerFilter(lcfirst($filterName));
        }
    }
public function registerFilters ()
    {
        foreach (glob($this->getFiltersDirectoryPath() . '*.php') as $file) {
            $filterName = pathinfo($file, PATHINFO_FILENAME);
            $this->registerFilter(lcfirst($filterName));
        }
    }
public function registerFilters ( ) { foreach ( glob ( $ this -> getFiltersDirectoryPath ( ) . '*.php' ) as $ file ) { $ filterName = pathinfo ( $ file , PATHINFO_FILENAME ) ; $ this -> registerFilter ( lcfirst ( $ filterName ) ) ; } }
Registers view filters from directory
Registers view filters from directory