Home
last modified time | relevance | path

Searched refs:parent_id (Results 1 – 9 of 9) sorted by relevance

/webtrees/app/
H A DPlaceLocation.php82 $parent_id = $this->parent()->id(); variable in Fisharebest\\Webtrees\\PlaceLocation
87 if ($parent_id === null) {
95 ->where('parent_id', '=', $parent_id)
100 'parent_id' => $parent_id,
116 $parent_id = null;
119 if ($parent_id === null) {
120 $parent_id = DB::table('place_location')
125 $parent_id = DB::table('place_location')
126 ->where('parent_id', '=', $parent_id)
131 if ($parent_id === null) {
/webtrees/app/Http/RequestHandlers/
H A DMapDataSave.php46 $parent_id = Validator::parsedBody($request)->string('parent_id');
55 $parent_id = $parent_id === '' ? null : $parent_id;
66 if ($parent_id !== null && $latitude === 0.0 && $longitude === 0.0) {
75 if ($parent_id === null) {
78 $exists_query->where('parent_id', '=', $parent_id);
83 'parent_id' => $parent_id,
H A DMapDataList.php75 $parent_id = $request->getAttribute('parent_id');
77 if ($parent_id === null) {
80 $parent_id = (int) $parent_id;
81 $parent = $this->map_data_service->findById($parent_id);
85 if ($parent_id !== null && $parent->id() === null) {
122 'parent_id' => $parent_id,
123 'placelist' => $this->map_data_service->getPlaceListLocation($parent_id),
H A DMapDataAdd.php66 $parent_id = $request->getAttribute('parent_id');
68 if ($parent_id === null) {
71 $parent = $this->map_data_service->findById((int) $parent_id);
H A DMapDataExportGeoJson.php62 $parent_id = $request->getAttribute('parent_id');
64 if ($parent_id === null) {
67 $parent = $this->map_data_service->findById((int) $parent_id);
H A DMapDataExportCSV.php70 $parent_id = $request->getAttribute('parent_id');
72 if ($parent_id === null) {
75 $parent = $this->map_data_service->findById((int) $parent_id);
/webtrees/app/Services/
H A DMapDataService.php68 $id = $row->parent_id;
211 * @param int|null $parent_id
215 public function getPlaceListLocation(int|null $parent_id): Collection argument
243 if ($parent_id === null) {
246 $query->where('p0.parent_id', '=', $parent_id);
/webtrees/resources/views/admin/
H A Dlocations.phtml144 … <a class="btn btn-primary" href="<?= e(route(MapDataAdd::class, ['parent_id' => $parent_id])) ?>">
156 …class="dropdown-item" href="<?= e(route(MapDataExportCSV::class, ['parent_id' => $parent_id])) ?>">
159 …s="dropdown-item" href="<?= e(route(MapDataExportGeoJson::class, ['parent_id' => $parent_id])) ?>">
163 …ss="btn btn-primary" href="<?= e(route(MapDataImportPage::class, ['parent_id' => $parent_id])) ?>">
/webtrees/
H A Dphpstan-baseline.neon8494 message: '#^Access to an undefined property object\:\:\$parent_id\.$#'