Lines Matching refs:value
45 * @param string $value
50 public function edit(string $id, string $name, string $value, Tree $tree): string argument
55 'media' => Registry::mediaFactory()->make(trim($value, '@'), $tree),
72 * @param string $value
77 public function labelValue(string $value, Tree $tree): string argument
80 if (preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $value, $match) === 1) {
84 return parent::labelValue($value, $tree);
90 return parent::labelValue($value, $tree);
94 $value = '<a href="' . e($media->url()) . '">' . $media->fullName() . '</a>';
97 $value_html = '<div class="wt-media-link-title">' . $value . '</div>';
102 return parent::labelValue($value, $tree);
108 * @param string $value
113 public function value(string $value, Tree $tree): string function in Fisharebest\\Webtrees\\Elements\\XrefMedia
115 return $this->valueXrefLink($value, $tree, Registry::mediaFactory());