/** * Render a template * * @param string $template The template to render * @param array $params The params to pass to the renderer * @param array $options Extra options * @return string */ protected function render($template, array $params = array(), array $options = array()) { return parent::render($template, $params, $options); }
/** * Render a template * * @param string $template The template to render * @param array $params The params to pass to the renderer * @param array $options Extra options * @return string */ protected function render($template, array $params = array(), array $options = array()) { $params['config'] = $this->getService('config'); $options['helpers'][] = $this->getService('auth.security.templating.helper'); return parent::render($template, $params, $options); }
/** * Render a template * * @param string $template The template to render * @param array $params The params to pass to the renderer * @param array $options Extra options * @return string */ protected function render($template, array $params = array(), array $options = array()) { // $this->addTemplateGlobal('isLoggedIn', $this->isLoggedIn()); return parent::render($template, $params, $options); }