Newscoop\NewscoopBundle\Twig\NewscoopExtension::getFunctions PHP Метод

getFunctions() публичный Метод

public getFunctions ( )
    public function getFunctions()
    {
        return array(new \Twig_SimpleFunction('strpos', 'strpos'), new \Twig_SimpleFunction('getBreadcrumbsArray', array($this, 'getBreadcrumbsArray')), new \Twig_SimpleFunction('getReCaptchaImage', array($this, 'getReCaptchaImage')), new \Twig_SimpleFunction('renderHook', array($this, 'renderHook')), new \Twig_SimpleFunction('getSystemPref', "\\Zend_Registry::get('container')->getService('system_preferences_service')->get"), new \Twig_SimpleFunction('generateZendUrl', array($this, 'generateZendUrl')), new \Twig_SimpleFunction('hasPermission', array($this, 'hasPermission')), new \Twig_SimpleFunction('default_csrf_token', array($this, 'getCsrfToken')), new \Twig_SimpleFunction('renderTip', array($this, 'renderTip'), array('is_safe' => array('html'))));
    }