Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $locations = new ArrayList();
- foreach(Location::get() as $item){
- $locations->push(new ArrayData(array(
- 'Title' => $item->Title,
- 'Lat' => $item->Lat,
- 'Long' => $item->Long,
- )));
- }
- $locations->toArray();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement