Lines Matching refs:fact
70 foreach ($old_father->facts(['FAMS']) as $fact) {
71 if ($fact->target() === $family) {
72 $old_father->deleteFact($fact->id(), true);
76 foreach ($family->facts(['HUSB', 'WIFE']) as $fact) {
77 if ($fact->target() === $old_father) {
78 $family->deleteFact($fact->id(), true);
93 foreach ($old_mother->facts(['FAMS']) as $fact) {
94 if ($fact->target() === $family) {
95 $old_mother->deleteFact($fact->id(), true);
99 foreach ($family->facts(['HUSB', 'WIFE']) as $fact) {
100 if ($fact->target() === $old_mother) {
101 $family->deleteFact($fact->id(), true);
116 foreach ($old_child->facts(['FAMC']) as $fact) {
117 if ($fact->target() === $family) {
118 $old_child->deleteFact($fact->id(), true);
122 foreach ($family->facts(['CHIL']) as $fact) {
123 if ($fact->target() === $old_child) {
124 $family->deleteFact($fact->id(), true);