Exemplo n.º 1
0
 function __construct()
 {
     $this->appConfig = new fvConfig(fvSite::$fvConfig->get("path.application.{$this->appName}.config"));
     $this->appConfig->Load("modules.yml");
     $this->appConfig->Load("template.yml");
     $this->moduleName = strtolower(substr(__CLASS__, 0, -6));
     parent::__construct(fvSite::$fvConfig->get("modules.{$this->moduleName}.smarty.template"), fvSite::$fvConfig->get("modules.{$this->moduleName}.smarty.compile"), fvSite::$Layoult);
 }
Exemplo n.º 2
0
 function __construct()
 {
     $this->moduleName = strtolower(substr(__CLASS__, 0, -6));
     parent::__construct(fvSite::$fvConfig->get("modules.{$this->moduleName}.smarty.template"), fvSite::$fvConfig->get("modules.{$this->moduleName}.smarty.compile"), fvSite::$Layoult);
 }
 function __construct($template, $compile, $current_page, $moduleName)
 {
     $this->moduleName = $moduleName;
     parent::__construct($template, $compile, $current_page);
 }