예제 #1
0
 /**
  * Konstruktor
  * @param string $viewName View-Name, ohne Endung .php
  * @param string $viewPath View-Pfad unterhalb von core/views/
  */
 public function __construct()
 {
     parent::__construct('error', 'common/');
 }
예제 #2
0
 /**
  * Konstruktor
  * @param string $viewName View-Name, ohne Endung .php
  * @param string $viewPath View-Pfad unterhalb von core/views/
  */
 public function __construct($viewName = '', $viewPath = '')
 {
     parent::__construct($viewName, trim($viewPath, '/') . '/');
 }
예제 #3
0
 /**
  * Konstruktor
  * @param string $moduleKey Module-key
  * @param string $type View-Type (acp, pub oder ajax)
  * @param string $viewName View-Name, ohne Endung .php
  * @param string $viewPath View-Pfad unterhalb von inc/modules/MODULE_KEY
  */
 public function __construct($moduleKey = '', $type = 'acp', $viewName = '', $viewPath = '')
 {
     $this->moduleViewType = $type;
     $this->viewPath = \fpcm\classes\baseconfig::$moduleDir . $moduleKey . '/views' . trim($viewPath, '/') . '/';
     parent::__construct($viewName);
 }