Lines Matching refs:id

953         $id    = '';
957 $id = $match[1];
962 $id = $this->vars[$match[1]]['id'];
968 $id = $gmatch[1];
971 $id = $attrs['id'];
975 if (!empty($id)) {
976 $record = Registry::gedcomRecordFactory()->make($id, $this->tree);
1008 $id = '';
1011 $id = $match[1];
1028 $this->current_element->addText($id);
1315 $id = '';
1318 $id = $match[1];
1328 $record = Registry::gedcomRecordFactory()->make($id, $this->tree);
1329 if (empty($attrs['diff']) && !empty($id)) {
1543 $id = $match[$i][1];
1545 if ($id === 'ID') {
1549 } elseif ($id === 'fact') {
1551 } elseif ($id === 'desc') {
1553 } elseif ($id === 'generation') {
1560 $value = $this->getGedcomValue($id, $level, $this->gedrec);
1563 $value = $this->getGedcomValue($id, $level, $this->gedrec);
1568 $condition = str_replace("@$id", $value, $condition);
1607 $id = '';
1609 $id = $match[2];
1611 $record = Registry::gedcomRecordFactory()->make($id, $this->tree);
1692 $id = '';
1694 $id = $match[1];
1713 $person = Registry::individualFactory()->make($id, $this->tree);
1897 ->where('gedcom_id', '=', $this->tree->id())
1909 ->where('i_file', '=', $this->tree->id())
1995 ->where('f_file', '=', $this->tree->id())
2098 $id = $match[1];
2100 if ($id === 'ID') {
2104 } elseif ($id === 'fact') {
2106 } elseif ($id === 'desc') {
2109 if (preg_match("/\d $id (.+)/", $this->gedrec, $match)) {
2113 $condition = preg_replace("/@$id/", $value, $condition);
2410 $id = $attrs['id'] ?? '';
2412 if (preg_match("/\\$(\w+)/", $id, $match)) {
2413 $id = $this->vars[$match[1]]['id'];
2414 $id = trim($id);
2418 $person = Registry::individualFactory()->make($id, $this->tree);
2420 $this->list[$id] = $person;
2445 $this->addAncestors($this->list, $id, false, $maxgen);
2448 $this->addAncestors($this->list, $id, true, $maxgen);
2451 $this->list[$id]->generation = 1;
2452 $this->addDescendancy($this->list, $id, false, $maxgen);
2455 $this->addAncestors($this->list, $id, true, $maxgen);
2456 $this->addDescendancy($this->list, $id, true, $maxgen);
2706 $id = array_shift($genlist);
2707 if (str_starts_with($id, 'empty')) {
2710 $person = Registry::individualFactory()->make($id, $this->tree);
2716 $list[$husband->xref()]->generation = $list[$id]->generation + 1;
2720 $list[$wife->xref()]->generation = $list[$id]->generation + 1;
2722 if ($generations == -1 || $list[$id]->generation + 1 < $generations) {
2733 $list[$child->xref()]->generation = $list[$id]->generation ?? 1;