public function loadDetails() { $db = Loader::db(); $row = $db->GetRow('select cID from gaPage where gaiID = ?', array($this->getGatheringItemID())); $this->setPropertiesFromArray($row); $this->page = Page::getByID($row['cID'], 'ACTIVE'); }