Lines Matching refs:id
96 private int $id; variable in Fisharebest\\Webtrees\\Tree
120 * @param int $id
124 public function __construct(int $id, string $name, string $title) argument
126 $this->id = $id;
135 ->where('gedcom_id', '=', $this->id)
176 'gedcom_id' => $this->id,
202 ->where('gedcom_id', '=', $this->id)
274 'gedcom_id' => $this->id(),
275 'user_id' => $user->id(),
282 $this->user_preferences[$user->id()][$setting_name] = $setting_value;
303 if (!array_key_exists($user->id(), $this->user_preferences)) {
304 $this->user_preferences[$user->id()] = DB::table('user_gedcom_setting')
305 ->where('user_id', '=', $user->id())
306 ->where('gedcom_id', '=', $this->id)
311 return $this->user_preferences[$user->id()][$setting_name] ?? $default;
319 public function id(): int function in Fisharebest\\Webtrees\\Tree
321 return $this->id;
344 ->where('gedcom_id', '=', $this->id)
373 'gedcom_id' => $this->id,
378 'user_id' => Auth::id(),
418 'gedcom_id' => $this->id,
423 'user_id' => Auth::id(),
463 'gedcom_id' => $this->id,
468 'user_id' => Auth::id(),
508 'gedcom_id' => $this->id,
513 'user_id' => Auth::id(),
566 ->where('i_file', '=', $this->id())