classes/Meerkat/Twig/Twig/Extension.php
public function getFilters() {
            return array( // Numbers
                'num_format'  => new \Twig_Filter_Function('num::format'),
                // Text
                'limit_words' => new \Twig_Filter_Function('Text::limit_words'),
                'limit_chars' => new \Twig_Filter_Function('Text::limit_chars'),
                'auto_link'   => new \Twig_Filter_Function('Text::auto_link'),
                'auto_p'      => new \Twig_Filter_Function('Text::auto_p'),
                'bytes'       => new \Twig_Filter_Function('Text::bytes'),
                'lower'       => new \Twig_Filter_Function('mb_strtolower'),
                'upper'       => new \Twig_Filter_Function('mb_strtoupper'),
                'ucfirst'     => new \Twig_Filter_Function('ucfirst'),
                'ucwords'     => new \Twig_Filter_Function('ucwords'),
                'strip_tags'  => new \Twig_Filter_Function('strip_tags'),
                'trim'        => new \Twig_Filter_Function('trim'),
                'int'         => new \Twig_Filter_Function('intval'),
                'xss_clean'   => new \Twig_Filter_Function('Security::xss_clean'),
                'urlencode'   => new \Twig_Filter_Function('urlencode'),
                'highlight'   => new \Twig_Filter_Function('\Meerkat\Twig\Twig_Extension::f_highlight'),
            );
        }
public function getFilters() {
            return array( // Numbers
                'num_format'  => new \Twig_Filter_Function('num::format'),
                // Text
                'limit_words' => new \Twig_Filter_Function('Text::limit_words'),
                'limit_chars' => new \Twig_Filter_Function('Text::limit_chars'),
                'auto_link'   => new \Twig_Filter_Function('Text::auto_link'),
                'auto_p'      => new \Twig_Filter_Function('Text::auto_p'),
                'bytes'       => new \Twig_Filter_Function('Text::bytes'),
                'lower'       => new \Twig_Filter_Function('mb_strtolower'),
                'upper'       => new \Twig_Filter_Function('mb_strtoupper'),
                'ucfirst'     => new \Twig_Filter_Function('ucfirst'),
                'ucwords'     => new \Twig_Filter_Function('ucwords'),
                'strip_tags'  => new \Twig_Filter_Function('strip_tags'),
                'trim'        => new \Twig_Filter_Function('trim'),
                'int'         => new \Twig_Filter_Function('intval'),
                'xss_clean'   => new \Twig_Filter_Function('Security::xss_clean'),
                'urlencode'   => new \Twig_Filter_Function('urlencode'),
                'highlight'   => new \Twig_Filter_Function('\Meerkat\Twig\Twig_Extension::f_highlight'),
            );
        }
public function getFilters ( ) { return array ( // Numbers 'num_format' => new \ Twig_Filter_Function ( 'num::format' ) , // Text 'limit_words' => new \ Twig_Filter_Function ( 'Text::limit_words' ) , 'limit_chars' => new \ Twig_Filter_Function ( 'Text::limit_chars' ) , 'auto_link' => new \ Twig_Filter_Function ( 'Text::auto_link' ) , 'auto_p' => new \ Twig_Filter_Function ( 'Text::auto_p' ) , 'bytes' => new \ Twig_Filter_Function ( 'Text::bytes' ) , 'lower' => new \ Twig_Filter_Function ( 'mb_strtolower' ) , 'upper' => new \ Twig_Filter_Function ( 'mb_strtoupper' ) , 'ucfirst' => new \ Twig_Filter_Function ( 'ucfirst' ) , 'ucwords' => new \ Twig_Filter_Function ( 'ucwords' ) , 'strip_tags' => new \ Twig_Filter_Function ( 'strip_tags' ) , 'trim' => new \ Twig_Filter_Function ( 'trim' ) , 'int' => new \ Twig_Filter_Function ( 'intval' ) , 'xss_clean' => new \ Twig_Filter_Function ( 'Security::xss_clean' ) , 'urlencode' => new \ Twig_Filter_Function ( 'urlencode' ) , 'highlight' => new \ Twig_Filter_Function ( '\Meerkat\Twig\Twig_Extension::f_highlight' ) , ) ; }
Returns the added filters

@return array
@author Jonathan Geiger
Returns the added filters