Lines Matching refs:family

371         $family = Registry::familyFactory()->make($xref, $tree);
372 $family = Auth::checkFamilyAccess($family);
373 $name = $family->fullName();
387 'record' => $family,
399 $family = Registry::familyFactory()->make($xref, $tree);
400 $family = Auth::checkFamilyAccess($family);
404 $this->addFamilyToCart($family);
408 $this->addFamilyAndChildrenToCart($family);
412 $this->addFamilyAndDescendantsToCart($family);
416 return redirect($family->url());
419 protected function addFamilyAndChildrenToCart(Family $family): void argument
421 $this->addFamilyToCart($family);
423 foreach ($family->children() as $child) {
428 protected function addFamilyAndDescendantsToCart(Family $family): void argument
430 $this->addFamilyAndChildrenToCart($family);
432 foreach ($family->children() as $child) {
492 foreach ($individual->childFamilies() as $family) {
493 $this->addFamilyAndChildrenToCart($family);
498 foreach ($individual->spouseFamilies() as $family) {
499 $this->addFamilyAndChildrenToCart($family);
512 foreach ($individual->spouseFamilies() as $family) {
513 $this->addFamilyAndDescendantsToCart($family);
525 foreach ($individual->childFamilies() as $family) {
526 $this->addFamilyToCart($family);
528 foreach ($family->spouses() as $parent) {
536 foreach ($individual->childFamilies() as $family) {
537 $this->addFamilyAndChildrenToCart($family);
539 foreach ($family->spouses() as $parent) {
723 foreach ($this->linked_record_service->linkedFamilies($source) as $family) {
724 $this->addFamilyToCart($family);
765 protected function addFamilyToCart(Family $family): void argument
770 $tree = $family->tree()->name();
771 $xref = $family->xref();
778 foreach ($family->spouses() as $spouse) {
782 $this->addLocationLinksToCart($family);
783 $this->addMediaLinksToCart($family);
784 $this->addNoteLinksToCart($family);
785 $this->addSourceLinksToCart($family);
786 $this->addSubmitterLinksToCart($family);