setTitle($baseId . 'PageTitle'); $this->setDescription($baseId . 'PageDescription'); if($hasAlert) { $this->addInternalAlert($baseId . 'AlertDescription',$type); } } public function getDescription() { return $this->description; } public function setDescription($description) { $this->description = $description; return $this; } public function getAssetsUrl() { return BuildUrl::getAssetsURL(); } public function getIcon() { $asset = BuildUrl::getAppAssetsURL(); return $asset.DIRECTORY_SEPARATOR.'icons'.DIRECTORY_SEPARATOR.$this->id.'.png'; } }