equal
deleted
inserted
replaced
103 public function getLongitudeValue() { |
103 public function getLongitudeValue() { |
104 $long = $this->getLongitude(); |
104 $long = $this->getLongitude(); |
105 return is_null($long)?null:$long->getValue(); |
105 return is_null($long)?null:$long->getValue(); |
106 } |
106 } |
107 |
107 |
108 |
108 public function getGeonamesLocs() { |
|
109 return preg_grep(config('corpusparole.geonames_url_regexp'), $this->getRefLocs()); |
|
110 } |
109 |
111 |
110 public function jsonSerialize() { |
112 public function jsonSerialize() { |
111 $notes = array_map( |
113 $notes = array_map( |
112 function($note) { return Utils::processLiteralResourceOrString($note); }, |
114 function($note) { return Utils::processLiteralResourceOrString($note); }, |
113 $this->getNotes() |
115 $this->getNotes() |