Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 /**
  * 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();
 }
Exemplo n.º 3
0
 /**
  * Konstruktor
  * @param array $uploader $_FILES array
  */
 public function __construct(array $uploader)
 {
     parent::__construct();
     $this->uploader = $uploader;
 }
Exemplo n.º 4
0
 /**
  * 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;
 }
Exemplo n.º 5
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 6
0
 /**
  * Konstruktor
  */
 public function __construct()
 {
     parent::__construct();
     $this->cache = new \fpcm\classes\cache('navigation_' . $this->session->getUserId(), 'theme');
 }