getAddress() . ' - ' . $this->getZip() . ' ' . $this->getCity(); } public function getSummary($withTitle = true) { $html = ''; if ($this->getTitle() && $withTitle) { $html .= $this->getTitle() . '
'; } if ($this->getLastname() || $this->getFirstname()) { $html .= $this->getLastname() . ' ' . $this->getFirstname() . '
'; } if ($this->getAddress()) { $html .= $this->getAddress() . '
'; } if ($this->getZip() || $this->getCity()) { $html .= $this->getZip() . ' ' . $this->getCity() . '
'; } if ($this->getPhone()) { foreach ($this->getPhone() as $phone) { $html .= 'Tél. ' . $phone . '
'; } } return $html; } public function getLongitudeInherit() { if ($this->getLongitudeOverride()) { return $this->getLongitudeOverride(); } else { return $this->getLongitude(); } } public function getLatitudeInherit() { if ($this->getLatitudeOverride()) { return $this->getLatitudeOverride(); } else { return $this->getLatitude(); } } }