コード例 #1
0
 /**
  * @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;
 }
コード例 #2
0
 /**
  * @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;
     }
 }
コード例 #3
0
ファイル: JobPage.php プロジェクト: Thingee/openstack-org
 /**
  * @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;
 }