Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
Archivo: Smarty.php Proyecto: acp3/core
 /**
  * @inheritdoc
  */
 public function templateExists($template)
 {
     return $this->smarty->templateExists($template);
 }