Exemplo n.º 1
0
 /**
  * Init pointer to DB/Error-object
  */
 protected function initInternalObjects()
 {
     $this->AccountID = SessionAccountHandler::getId();
     $this->DB = DB::getInstance();
     $this->DatasetConfig = new Dataset\Configuration($this->DB, $this->AccountID);
     $this->DatasetQuery = new Dataset\Query($this->DatasetConfig, $this->DB, $this->AccountID);
     $this->DatasetQuery->setAdditionalColumns(array('is_public'));
     $this->Factory = new Factory($this->AccountID);
 }
Exemplo n.º 2
0
 /**
  * Init pointer to DB/Error-object
  */
 protected function initInternalObjects()
 {
     $this->AccountID = SessionAccountHandler::getId();
     $this->DB = DB::getInstance();
     $this->DatasetConfig = new Dataset\Configuration($this->DB, $this->AccountID);
     $this->DatasetQuery = new Dataset\Query($this->DatasetConfig, $this->DB, $this->AccountID);
     $this->DatasetQuery->setAdditionalColumns(array('is_public'));
     $this->Factory = new Factory($this->AccountID);
     if (!Configuration::DataBrowser()->showEditLink()) {
         $this->ShowEditLink = false;
         $this->AdditionalColumns -= 1;
     }
 }