dto = $dto; $this->locations = $locations; $this->related_projects = $related_projects; } /** * @return string */ public function getDescription(){ return $this->dto->getDescription(); } /** * @return int */ public function getCourseID() { return $this->dto->getCourseID(); } /** * @return string */ public function getCourseName() { return $this->dto->getCourseName(); } /** * @return int */ public function getTrainingID() { return $this->dto->getTrainingID(); } /** * @return string */ public function getCompanyURL() { return $this->dto->getCompanyURL(); } /** * @return string */ public function getBookMark(){ return $this->getCompanyURL() ."/".$this->getTrainingID()."#course_".$this->getCourseID(); } /** * @return string */ public function getLevel() { return $this->dto->getLevel(); } /** * @return string */ public function getLwrLevel() { return strtolower($this->dto->getLevel()); } /** * @return bool */ public function getIsOnline() { return $this->dto->getIsOnline(); } /** * @return string */ public function getStartDate() { return $this->dto->getStartDate(); } /** * @return string */ public function getEndDate() { return $this->dto->getEndDate(); } /** * @return string */ public function getCity() { return $this->dto->getCity(); } /** * @return string */ public function getCountry() { return $this->dto->getCountry(); } /** * @return string */ public function getState() { return $this->dto->getState(); } /** * @return string */ public function getStartDateMonth(){ return !is_null($this->getStartDate())?DateTimeUtils::getMonthShortName($this->getStartDate()):''; } /** * @return bool|string */ public function getStartDateDay(){ return !is_null($this->getStartDate())?DateTimeUtils::getDay($this->getStartDate()):''; } /** * @return string */ public function getEndDateMonth(){ return !is_null($this->getEndDate())?DateTimeUtils::getMonthShortName($this->getEndDate()):''; } /** * @return bool|string */ public function getEndDateDay(){ return !is_null($this->getEndDate())?DateTimeUtils::getDay($this->getEndDate()):''; } /** * @return ArrayList */ public function getCurrentLocations(){ return $this->locations; } /** * @return ArrayList */ public function getProjects(){ return $this->related_projects; } /** * @return string */ public function getLink(){ return $this->dto->getLink(); } }