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