public function getCity($con = null) { include_once 'lib/model/om/BaseCityPeer.php'; if ($this->aCity === null && $this->city_id !== null) { $this->aCity = CityPeer::retrieveByPK($this->city_id, $con); } return $this->aCity; }