Lines Matching refs:tree
75 $tree = Validator::attributes($request)->tree();
80 ->where('gedcom_id', '=', $tree->id())
85 ->where('gedcom_id', '=', $tree->id())
90 if ($tree->getPreference('imported') !== '1') {
93 'tree' => $tree,
97 return $this->viewResponse('admin/import-complete', ['tree' => $tree]);
103 'individuals' => DB::table('individuals')->where('i_file', '=', $tree->id()),
104 'families' => DB::table('families')->where('f_file', '=', $tree->id()),
105 'sources' => DB::table('sources')->where('s_file', '=', $tree->id()),
106 'other' => DB::table('other')->where('o_file', '=', $tree->id()),
107 'places' => DB::table('places')->where('p_file', '=', $tree->id()),
108 'placelinks' => DB::table('placelinks')->where('pl_file', '=', $tree->id()),
109 'name' => DB::table('name')->where('n_file', '=', $tree->id()),
110 'dates' => DB::table('dates')->where('d_file', '=', $tree->id()),
111 'change' => DB::table('change')->where('gedcom_id', '=', $tree->id()),
114 if ($tree->getPreference('keep_media') === '1') {
115 $queries['link'] = DB::table('link')->where('l_file', '=', $tree->id())
118 $queries['link'] = DB::table('link')->where('l_file', '=', $tree->id());
119 … $queries['media_file'] = DB::table('media_file')->where('m_file', '=', $tree->id());
120 $queries['media'] = DB::table('media')->where('m_file', '=', $tree->id());
133 'tree' => $tree,
151 ->where('gedcom_id', '=', $tree->id())
185 'tree' => $tree,
197 $this->gedcom_import_service->importRecord($rec, $tree, false);
213 'tree' => $tree,
224 'tree' => $tree,
230 'tree' => $tree,