Lines Matching refs:value
202 public function value(): string function in Fisharebest\\Webtrees\\Fact
205 $value = preg_replace("/\n2 CONT ?/", "\n", $match[1]);
207 return Registry::elementFactory()->make($this->tag())->canonical($value);
220 if (!preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $this->value(), $match)) {
271 $value = preg_replace("/\n3 CONT ?/", "\n", $match[1]);
273 return Registry::elementFactory()->make($this->tag() . ':' . $tag)->canonical($value);
448 …ds_with($this->tag(), ':NOTE') && preg_match('/^@' . Gedcom::REGEX_XREF . '@$/', $this->value())) {
458 return $element->value($type, $this->record->tree());
538 $value = $this->value();
539 if ($value !== '' && $value !== 'Y') {
540 $attributes[] = '<bdi>' . e($value) . '</bdi>';
565 $value = '<span class="field" dir="auto">' . implode(' — ', $attributes) . '</span>';
568 … return '<div class="' . $class . '">' . I18N::translate('%1$s: %2$s', $label, $value) . '</div>';
585 $value = $this->value();
586 if ($value !== '' && $value !== 'Y') {
587 $items[] = '<bdi>' . e($value) . '</bdi>';
656 $atag = $a->tag === 'NO' ? $a->value() : $a->tag;
657 $btag = $b->tag === 'NO' ? $b->value() : $b->tag;