application/libraries/Twig.php
/**
     * Register Filter
     *
     * Alllows you to register filters for use within
     * the Twig environment.
     *
     * @param mixed $name
     * @returns object
     *
     */
Register Filter
Alllows you to register filters for use within
the Twig environment.

@param mixed $name
@returns object
Register Filter Alllows you to register filters for use within the Twig environment . @param mixed $name @returns object
public function register_filter($name) {
        $this->_twig->addFilter($name, new Twig_Filter_Function($name));
        return $this;
    }
public function register_filter ( $ name ) { $ this -> _twig -> addFilter ( $ name , new Twig_Filter_Function ( $ name ) ) ; return $ this ; }
Register Filter
 Alllows you to register filters for use within
 the Twig environment.
Register Filter Alllows you to register filters for use within the Twig environment .
// Return class for chaining