Lines Matching refs:tag
156 private string $tag; variable in Fisharebest\\Webtrees\\Fact
190 $this->tag = $match[1];
204 if (preg_match('/^1 ' . $this->tag . ' ?(.*(?:\n2 CONT ?.*)*)/', $this->gedcom, $match)) {
207 return Registry::elementFactory()->make($this->tag())->canonical($value);
226 switch ($this->tag) {
264 * @param string $tag
268 public function attribute(string $tag): string argument
270 if (preg_match('/\n2 ' . $tag . '\b ?(.*(?:(?:\n3 CONT ?.*)*)*)/', $this->gedcom, $match)) {
273 return Registry::elementFactory()->make($this->tag() . ':' . $tag)->canonical($value);
337 if ($target instanceof GedcomRecord && $target->tag() === $this->tag) {
345 if (isset($individual_fact_privacy[$xref][$this->tag])) {
346 return $individual_fact_privacy[$xref][$this->tag] >= $access_level;
348 if (isset($fact_privacy[$this->tag])) {
349 return $fact_privacy[$this->tag] >= $access_level;
372 …attribute('RESN'), RestrictionNotice::VALUE_LOCKED) && $this->tag !== 'RESN' && $this->tag !== 'CH…
426 public function tag(): string function in Fisharebest\\Webtrees\\Fact
428 return $this->record->tag() . ':' . $this->tag;
448 …if (str_ends_with($this->tag(), ':NOTE') && preg_match('/^@' . Gedcom::REGEX_XREF . '@$/', $this->…
453 if ($this->tag() === 'FAM:MARR') {
463 if ($this->tag === 'FACT' || $this->tag === 'EVEN') {
480 return Registry::elementFactory()->make($this->tag())->label();
545 …if ($this->record instanceof Individual && in_array($this->tag, Gedcom::BIRTH_EVENTS, true) && $th…
557 $class = 'fact_' . $this->tag;
656 $atag = $a->tag === 'NO' ? $a->value() : $a->tag;
657 $btag = $b->tag === 'NO' ? $b->value() : $b->tag;