コード例 #1
0
ファイル: Shared.php プロジェクト: noisebleed/skeletonapp
 /**
  * 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);
 }
コード例 #2
0
ファイル: Shared.php プロジェクト: code-ph0y/ppi-user-module
 /**
  * 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())
 {
     $options['helpers'][] = $this->getService('user.security.templating.helper');
     return parent::render($template, $params, $options);
 }