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>'; }
public function getTitle() { $title = parent::getTitle(); $title .= '<br /><span class="titlesecond">'; $other = $this->strAdd($this->getCat3(), $this->getCat2(), ' - '); $location = new Location($this->_posting->locId); $suburb = $location->getSuburb(); if (!empty($suburb)) { $title .= $other . ' <span class="titleend">(' . $suburb . ')</span>'; } //$title .= $this->strAdd( $other , $suburb, ' : '); return $title; }
public function getTitle() { $title = $this->_pstCategory->address; $location = new Location($this->_posting->locId); $suburb = $location->getSuburb(); if (!empty($suburb)) { $title .= ' <span class="titleend">(' . $suburb . ')</span>'; } if ($this->_posting->cat2 == 630) { $type = 'For Sale'; } else { if ($this->_posting->cat2 == 638) { $type = 'For Lease'; } else { if ($this->_posting->cat2 == 645) { $type = 'For Share'; } } } $title .= '<br /><span class="titlesecond">' . $type; $cat1Table = new Refcat1(); $title .= ' by ' . $cat1Table->getCatNameById($this->_posting->cat1) . ' - ' . $this->_posting->priceDisplay . ' - ' . ' Bed: ' . Tag::getUnitsAmount($this->_pstCategory->rooms) . ', Bath: ' . Tag::getUnitsAmount($this->_pstCategory->baths) . ', Cars: ' . Tag::getUnitsAmount($this->_pstCategory->parking) . "</span>"; return $title; }
public function getTitle() { $title = ""; $cat2 = ""; $cat3 = ""; $catTables = new Refcategory(); if (!empty($this->_posting->cat2)) { $cat2 = $catTables->getCatNameById($this->_posting->cat2); } if (!empty($this->_posting->cat3)) { $cat3 = $catTables->getCatNameById($this->_posting->cat3); } $title .= $this->_pstCategory->makeYear . ' ' . $cat2 . ' ' . $cat3; $location = new Location($this->_posting->locId); $suburb = $location->getSuburb(); $title .= '<br /><span class="titlesecond">'; $cat1Table = new Refcat1(); $title .= $cat1Table->getCatNameById($this->_posting->cat1) . ' - ' . $this->_posting->priceDisplay . '<span class="titleend"> (' . $suburb . ")</span>" . "</span>"; return $title; }