/**
  * @param JobMainInfo $info
  * @return void
  */
 public function registerMainInfo(JobMainInfo $info)
 {
     $this->Title = $info->getTitle();
     $this->Url = $info->getUrl();
     $this->Description = $info->getDescription();
     $this->Instructions2Apply = $info->getInstructions();
     $this->LocationType = $info->getLocationType();
     $this->IsCOANeeded = $info->isCoaNeeded();
     $this->TypeID = intval($info->getType());
     $this->CompanyID = $info->getCompany()->ID;
     $this->CompanyName = $info->getCompany()->Name;
 }
 /**
  * @param JobMainInfo $info
  * @return void
  */
 public function registerMainInfo(JobMainInfo $info)
 {
     $this->Title = $info->getTitle();
     $this->Url = $info->getUrl();
     $this->Description = $info->getDescription();
     $this->Instructions2Apply = $info->getInstructions();
     $this->LocationType = $info->getLocationType();
     if ($info->getCompany()->ID > 0) {
         $this->CompanyID = $info->getCompany()->ID;
     } else {
         $this->CompanyName = $info->getCompany()->Name;
     }
 }
Esempio n. 3
0
 /**
  * @param JobMainInfo $info
  * @return void
  */
 public function registerMainInfo(JobMainInfo $info)
 {
     $this->Title = $info->getTitle();
     $this->JobMoreInfoLink = $info->getUrl();
     $this->Content = $info->getDescription();
     $this->JobInstructions2Apply = $info->getInstructions();
     $this->LocationType = $info->getLocationType();
     $this->JobCompany = $info->getCompany()->Name;
 }