/** * 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/'); }
/** * 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, '/') . '/'); }
/** * 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); }