Exemplo n.º 1
0
 function ArrayForDB()
 {
     $ar = parent::ArrayForDB();
     if ($this->continent_code) {
         $ar["XCONT"] = $this->continent_code;
     }
     if ($this->latitude) {
         $ar["XLAT"] = $this->latitude;
     }
     if ($this->longitude) {
         $ar["XLON"] = $this->longitude;
     }
     return $ar;
 }
Exemplo n.º 2
0
 public function ArrayForDB()
 {
     $ar = parent::ArrayForDB();
     if ($this->postal_code) {
         $ar["XPOST"] = $this->postal_code;
     }
     if ($this->latitude) {
         $ar["XLAT"] = $this->latitude;
     }
     if ($this->longitude) {
         $ar["XLON"] = $this->longitude;
     }
     return $ar;
 }