예제 #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;
 }
예제 #2
0
파일: Smarty.php 프로젝트: acp3/core
 /**
  * @inheritdoc
  */
 public function templateExists($template)
 {
     return $this->smarty->templateExists($template);
 }