Exemple #1
0
 /**
  * @return \ACP3\Core\View\Renderer\Smarty
  */
 public function create()
 {
     $smarty = new \Smarty();
     $renderer = new Smarty($smarty, $this->appPath, $this->environment);
     $renderer->configure(['compile_id' => $this->config->getSettings(Schema::MODULE_NAME)['design']]);
     return $renderer;
 }
Exemple #2
0
 /**
  * @inheritdoc
  */
 public function templateExists($template)
 {
     return $this->smarty->templateExists($template);
 }