Beispiel #1
0
 public function getForm()
 {
     $this->_form = new JobContactForm();
     $this->_form->setHint('Post a Comment to the employer company:');
     $this->_form->setAction('/forms/contact');
     $this->_form->setPostingId($this->_posting->id);
     return parent::getForm();
 }
Beispiel #2
0
 public function getTitle()
 {
     $title = parent::getTitle();
     $title .= '<br /><span class="titlesecond">' . $this->getCat2();
     $location = new Location($this->_posting->locId);
     $suburb = $location->getSuburb();
     if (!empty($suburb)) {
         $title .= ' <span class="titleend">(' . $suburb . ')</span>';
     }
     return $title . '</span>';
 }
Beispiel #3
0
 /**
  * Job basic for seo.
  * show all the jobs in the city.
  * @return unknown_type
  */
 function indexAction()
 {
     try {
         $this->view = $this->_setRequiredParamsToView($this->view);
         $this->view->business = BusinessType::getBusiness($this->view->posting->typeID);
         $this->view->form = BusinessType::getBusinessForm($this->view->posting->typeID, $this->view->business, $this->view->location);
         //print_r($this->view->form);
         $this->view->detailTab = DetailTab::DetailTabFactory($this->view->posting);
         if (!empty($this->view->formData)) {
             $this->view->detailTab->setFormData($this->view->formData);
         }
         //$detailTab->printTabs();
     } catch (Exception $e) {
         logError("Posting data error: ", $e);
         echo $e;
     }
 }
Beispiel #4
0
 public function getForm()
 {
     $this->_form = new JobContactForm();
     $this->_form->setHint('Post comment to the property owner:');
     $this->_form->setAction('/forms/contact');
     $this->_form->setPostingId($this->_posting->id);
     return parent::getForm();
 }
Beispiel #5
0
 public function getForm()
 {
     $this->_form = new JobContactForm();
     $this->_form->setHint('Post a message to business owner:');
     $this->_form->setAction('/forms/contact');
     $this->_form->setPostingId($this->_posting->id);
     $this->_form->setQuestionlabel('Your Question:');
     return parent::getForm();
 }