Esempio n. 1
0
 public function toJson()
 {
     $array = array("operator" => $this->getOperator(), "code" => $this->getCode(), "name" => $this->getName(), "town" => $this->getTown(), "country" => $this->getCountry(), "longitude" => $this->getLongitude(), "latitude" => $this->getLatitude(), "parent_code" => $this->getParent(), "wheelchair" => $this->getWheelchair());
     return Json::Encode($array);
 }