function __construct(\SimpleXMLElement $xmlObj, array $feedIds = array(), $userId = 0, array $categories = array()) { parent::__construct(); $this->xmlObj = $xmlObj; $this->feedIds = $feedIds; $this->userId = $userId; $this->categories = $categories; }
/** * Konstruktor * @param string $viewName View-Name, ohne Endung .php * @param string $viewPath View-Pfad unterhalb von core/views/ */ function __construct($viewName = '', $viewPath = '') { parent::__construct(); if (!$this->viewPath) { $this->viewPath = \fpcm\classes\baseconfig::$viewsDir . $viewPath; } if (!empty($viewName)) { $this->viewName = $viewName . '.php'; } $this->fileLib = new \fpcm\model\system\fileLib(); $className = explode('\\', get_class($this)); call_user_func(array($this, 'initFileLib' . ucfirst(array_pop($className)))); include_once \fpcm\classes\loader::libGetFilePath('mobile_detect', 'Mobile_Detect.php'); $mobileDetect = new \Mobile_Detect(); $this->isMobile = $mobileDetect->isMobile(); }
/** * Konstruktor * @param array $uploader $_FILES array */ public function __construct(array $uploader) { parent::__construct(); $this->uploader = $uploader; }
/** * Konstruktor * @param string $link Artikel-Link * @param string $description Artikel-Beschreibung */ public function __construct($link, $description) { parent::__construct(); $this->link = rawurlencode($link); $this->description = $description; }
/** * Konstruktor */ public function __construct() { parent::__construct(); }
/** * Konstruktor */ public function __construct() { parent::__construct(); $this->cache = new \fpcm\classes\cache('navigation_' . $this->session->getUserId(), 'theme'); }