Example #1
0
 public function getTab1Content()
 {
     $contentArray = array();
     $contentArray[] = array('head' => 'Cuisine:', 'value' => $this->getCatsString(false), 'cssClass' => '');
     $contentArray[] = array('head' => 'Special Feature:', 'value' => $this->getCat1(), 'cssClass' => '');
     $contentArray[] = array('head' => 'Address:', 'value' => $this->_pstCategory->address, 'cssClass' => '');
     $location = new Location($this->_posting->locId);
     $contentArray[] = array('head' => 'Suburb:', 'value' => $location->getLocationString(), 'cssClass' => '');
     $contentArray[] = array('head' => 'Phone#:', 'value' => $this->_pstCategory->contactPhone, 'cssClass' => '');
     $contentArray[] = array('head' => 'Website:', 'value' => Tag::webSites($this->_pstCategory->website), 'cssClass' => '');
     $opendayTables = new Refopenday();
     $contentArray[] = array('head' => 'Open Days:', 'value' => $opendayTables->getOpenday($this->_pstCategory->openDays), 'cssClass' => '');
     $contentArray[] = array('head' => 'Price:', 'value' => $this->strAdd($this->_posting->priceDisplay, $this->_pstCategory->priceInfo), 'cssClass' => '');
     $contentArray[] = array('head' => '', 'value' => 'dummy', 'cssClass' => '');
     $contentArray[] = array('head' => '', 'value' => 'dummy', 'cssClass' => '');
     $contentArray[] = array('head' => $this->_pstCategory->shortDescription, 'value' => 'dummy', 'cssClass' => 'black');
     $contentArray[] = array('head' => $this->_pstCategory->about, 'value' => 'dummy', 'cssClass' => 'black');
     $this->printTable($contentArray, true);
     /*
     echo '<table>';
     
     echo '<tr>';
     echo '<th> </th>';
     echo '<td>' . $this->getCatsString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Location: </th>';
     
     
     echo '<td>' . $location->getLocationString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Salary Info: </th>';
     echo '<td>' . $this->_pstCategory->priceInfo . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Requried Skills: </th>';
     echo '<td>' . $this->_pstCategory->skills . '</td>';
     echo '</tr>';
     
     echo '</table>';
     */
 }
Example #2
0
 public function getTab1Content()
 {
     $contentArray = array();
     $contentArray[] = array('head' => '', 'value' => $this->_pstCategory->shortDescription, 'cssClass' => 'bold');
     $contentArray[] = array('head' => '&nbsp;', 'value' => '&nbsp;', 'cssClass' => '');
     $contentArray[] = array('head' => 'Address:', 'value' => $this->_pstCategory->address, 'cssClass' => '');
     $opendayTables = new Refopenday();
     $contentArray[] = array('head' => 'Open Days:', 'value' => $opendayTables->getOpenday($this->_pstCategory->openDay), 'cssClass' => '');
     $contentArray[] = array('head' => 'Price Info:', 'value' => $this->strAdd($this->_posting->priceDisplay, $this->_pstCategory->priceInfo), 'cssClass' => '');
     $contentArray[] = array('head' => 'Phone 1:', 'value' => $this->_pstCategory->phoneNumber, 'cssClass' => '');
     $contentArray[] = array('head' => 'Phone 2:', 'value' => $this->_pstCategory->phoneNumber2, 'cssClass' => '');
     $contentArray[] = array('head' => 'Website:', 'value' => Tag::webSites($this->_pstCategory->website), 'cssClass' => '');
     $contentArray[] = array('head' => $this->_pstCategory->description, 'value' => 'dummy', 'cssClass' => 'black');
     $contentArray[] = array('head' => 'Specials:', 'value' => $this->_pstCategory->specials, 'cssClass' => '');
     $contentArray[] = array('head' => 'Speciality:', 'value' => $this->_pstCategory->speciality, 'cssClass' => '');
     $this->printTable($contentArray, true);
     /*
     echo '<table>';
     
     echo '<tr>';
     echo '<th> </th>';
     echo '<td>' . $this->getCatsString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Location: </th>';
     
     
     echo '<td>' . $location->getLocationString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Salary Info: </th>';
     echo '<td>' . $this->_pstCategory->priceInfo . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Requried Skills: </th>';
     echo '<td>' . $this->_pstCategory->skills . '</td>';
     echo '</tr>';
     
     echo '</table>';
     */
 }
Example #3
0
 public function getTab1Content()
 {
     $contentArray = array();
     $contentArray[] = array('head' => 'Address:', 'value' => $this->_pstCategory->address, 'cssClass' => '');
     $opendayTables = new Refopenday();
     $contentArray[] = array('head' => 'Open Days:', 'value' => $opendayTables->getOpenday($this->_pstCategory->openDays), 'cssClass' => '');
     $contentArray[] = array('head' => 'Website:', 'value' => Tag::webSites($this->_pstCategory->website), 'cssClass' => '');
     $contentArray[] = array('head' => 'Business Number:', 'value' => $this->_pstCategory->businessNumber, 'cssClass' => '');
     $contentArray[] = array('head' => 'Short Description:', 'value' => $this->_pstCategory->shortDescription, 'cssClass' => '');
     $contentArray[] = array('head' => 'Qualification:', 'value' => $this->_pstCategory->qualification, 'cssClass' => '');
     $contentArray[] = array('head' => 'Specialty', 'value' => $this->_pstCategory->specialty, 'cssClass' => '');
     $contentArray[] = array('head' => 'Experience:', 'value' => $this->_pstCategory->experience, 'cssClass' => '');
     $contentArray[] = array('head' => 'Specials', 'value' => $this->_pstCategory->specials, 'cssClass' => '');
     $contentArray[] = array('head' => 'Price Information:', 'value' => $this->_pstCategory->priceInfo, 'cssClass' => '');
     $this->printTable($contentArray, true);
     /*
     echo '<table>';
     
     echo '<tr>';
     echo '<th> </th>';
     echo '<td>' . $this->getCatsString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Location: </th>';
     
     
     echo '<td>' . $location->getLocationString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Salary Info: </th>';
     echo '<td>' . $this->_pstCategory->priceInfo . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Requried Skills: </th>';
     echo '<td>' . $this->_pstCategory->skills . '</td>';
     echo '</tr>';
     
     echo '</table>';
     */
 }
Example #4
0
 public function getTab1Content()
 {
     $contentArray = array();
     $contentArray[] = array('head' => 'Activity:', 'value' => $this->strAdd($this->getCat2(), $this->getCat1()), 'cssClass' => '');
     $opendayTables = new Refopenday();
     $contentArray[] = array('head' => 'Open Day:', 'value' => $opendayTables->getOpenday($this->_pstCategory->openDay), 'cssClass' => '');
     $contentArray[] = array('head' => 'Adress:', 'value' => $this->_pstCategory->address, 'cssClass' => '');
     $contentArray[] = array('head' => 'Phone#:', 'value' => $this->_pstCategory->contactPhone, 'cssClass' => '');
     $contentArray[] = array('head' => 'Website:', 'value' => Tag::webSites($this->_pstCategory->website), 'cssClass' => '');
     $contentArray[] = array('head' => 'Average Price:', 'value' => $this->strAdd($this->_posting->priceDisplay, $this->_pstCategory->priceInfo), 'cssClass' => '');
     $contentArray[] = array('head' => 'Specials:', 'value' => $this->_pstCategory->specials, 'cssClass' => '');
     $contentArray[] = array('head' => '', 'value' => $this->_pstCategory->description, 'cssClass' => '');
     $this->printTable($contentArray, true);
     /*
     echo '<table>';
     
     echo '<tr>';
     echo '<th> </th>';
     echo '<td>' . $this->getCatsString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Location: </th>';
     
     
     echo '<td>' . $location->getLocationString() . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Salary Info: </th>';
     echo '<td>' . $this->_pstCategory->priceInfo . '</td>';
     echo '</tr>';
     
     echo '<tr>';
     echo '<th>Requried Skills: </th>';
     echo '<td>' . $this->_pstCategory->skills . '</td>';
     echo '</tr>';
     
     echo '</table>';
     */
 }