Lines Matching refs:location
75 * @param PlaceLocation $location
79 public function activePlaces(PlaceLocation $location): array argument
81 $parents = $this->placeIdsForLocation($location);
154 foreach ($missing as $location) {
155 (new PlaceLocation($location))->id();
188 foreach ($location_query->get() as $location) {
191 ->where('p_place', '=', $location->place)
195 … FlashMessages::addMessage(I18N::translate('“%s” has been deleted.', e($location->place)));
198 ->where('id', '=', $location->id)
202 $this->deleteUnusedLocations((int) $location->id, $place_ids);
290 * @param PlaceLocation $location
294 private function placeIdsForLocation(PlaceLocation $location): array argument
298 while ($location->id() !== null) {
299 array_unshift($hierarchy, $location->locationName());
300 $location = $location->parent();