Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 151) sorted by relevance

1234567

/webtrees/app/Elements/
H A DAbstractElement.php153 $values = $this->values();
155 if ($values !== []) {
159 if (!array_key_exists($value, $values)) {
160 $values = [$value => $value] + $values;
164 $values = array_map(static fn (string $x): string => strip_tags($x), $values);
169 'options' => $values,
300 $values = $this->values();
302 if ($values === []) {
312 return $values[$canonical] ?? '<bdi>' . e($value) . '</bdi>';
320 public function values(): array function in Fisharebest\\Webtrees\\Elements\\AbstractElement
H A DSexXValue.php35 public function values(): array function in Fisharebest\\Webtrees\\Elements\\SexXValue
37 $values = parent::values();
39 $values['X'] = I18N::translate('Other');
41 return $values;
H A DEventTypeCitedFrom.php104 public function values(): array function in Fisharebest\\Webtrees\\Elements\\EventTypeCitedFrom
111 $values = ['' => ''];
118 $values[$subtag] = $element->label();
123 uasort($values, I18N::comparator());
125 return $values;
H A DTempleCode.php50 public function values(): array function in Fisharebest\\Webtrees\\Elements\\TempleCode
52 $values = [
210 uasort($values, I18N::comparator());
211 $values = ['' => I18N::translate('No temple - living ordinance')] + $values;
213 return $values;
H A DGovIdType.php36 public function values(): array function in Fisharebest\\Webtrees\\Elements\\GovIdType
38 $values = [
311 array_walk($values, static function (string &$value, $key): void {
317 return $values;
H A DDemographicDataType.php50 public function values(): array function in Fisharebest\\Webtrees\\Elements\\DemographicDataType
52 $values = [
58 uasort($values, I18N::comparator());
60 return $values;
H A DHierarchicalRelationship.php51 public function values(): array function in Fisharebest\\Webtrees\\Elements\\HierarchicalRelationship
53 $values = [
61 uasort($values, I18N::comparator());
63 return $values;
H A DFamilyNonEvent.php56 public function values(): array function in Fisharebest\\Webtrees\\Elements\\FamilyNonEvent
58 $values = [
72 uasort($values, I18N::comparator());
74 return $values;
H A DPedigreeLinkageType.php65 public function values(string $sex = 'U'): array function in Fisharebest\\Webtrees\\Elements\\PedigreeLinkageType
67 $values = [
100 return $values[$sex] ?? $values['U'];
H A DIndividualNonEvent.php55 public function values(): array function in Fisharebest\\Webtrees\\Elements\\IndividualNonEvent
57 $values = [
83 uasort($values, I18N::comparator());
85 return $values;
H A DSourceMediaType.php74 public function values(): array function in Fisharebest\\Webtrees\\Elements\\SourceMediaType
77 $values = [
99 uasort($values, I18N::comparator());
101 return $values;
H A DRelationIsDescriptor.php47 public function values(string $sex = 'U'): array function in Fisharebest\\Webtrees\\Elements\\RelationIsDescriptor
49 $values = [
132 $tmp = $values[$sex] ?? $values['U'];
H A DLanguageId.php122 public function values(): array function in Fisharebest\\Webtrees\\Elements\\LanguageId
124 $values = [
214 uasort($values, I18N::comparator());
216 return $values;
H A DFamilyStatusText.php55 if (array_key_exists($upper, $this->values())) {
67 public function values(): array function in Fisharebest\\Webtrees\\Elements\\FamilyStatusText
H A DRoleInEvent.php54 if (array_key_exists($upper, $this->values())) {
74 public function values(): array function in Fisharebest\\Webtrees\\Elements\\RoleInEvent
/webtrees/resources/views/
H A Dfact-gedcom-fields.phtml26 [, $levels, $tags, $values] = $matches;
38 …AbstractXrefElement && preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $values[$key], $match) ===…
47 $values[$key] = '';
55 …stanceof XrefSource && preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $values[0], $match) === 1)…
80 <?php if ($values[$key] !== '') : ?>
81 <?= $elements[$key]->labelValue(strtr($values[$key], ["\r" => "\n"]), $tree) ?>
88 <?php if ($values[$key] !== '') : ?>
89 <?= $elements[$key]->labelValue(strtr($values[$key], ["\r" => "\n"]), $tree) ?>
H A Dfact-association-structure.phtml77 … $values = ['<a href="' . e($person->url()) . '">' . $person->fullName() . '</a>' . $age_text]; variable
97 …$values[] = '<a href="' . $module->chartUrl($associate, ['xref2' => $person->xref()]) . '" rel="no…
101 $value = '<span class="field" dir="auto">' . implode(' — ', $values) . '</span>';
/webtrees/app/Services/
H A DGedcomEditService.php124 …ditLinesToGedcom(string $record_type, array $levels, array $tags, array $values, bool $append = tr… argument
130 assert(count($values) === $count);
140 $values[$i] = $element->canonical($values[$i]);
143 if ($levels[$i] === '1' && $values[$i] === 'Y') {
145 … if ($levels[$j] === '2' && ($tags[$j] === 'DATE' || $tags[$j] === 'PLAC') && $values[$j] !== '') {
146 $values[$i] = '';
155 if ($values[$j] !== '') {
160 … if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) {
161 if ($values[$i] === '') {
171 …levels[$i] . ' ' . $tags[$i] . ' ' . str_replace("\n", "\n" . $next_level . ' CONT ', $values[$i]);
/webtrees/app/Http/RequestHandlers/
H A DAddSpouseToIndividualAction.php64 $values = Validator::parsedBody($request)->array('ivalues');
65 … = $this->gedcom_edit_service->editLinesToGedcom(Individual::RECORD_TYPE, $levels, $tags, $values);
71 $values = Validator::parsedBody($request)->array('fvalues');
72 …dcom = $this->gedcom_edit_service->editLinesToGedcom(Family::RECORD_TYPE, $levels, $tags, $values);
H A DAddSpouseToFamilyAction.php64 $values = Validator::parsedBody($request)->array('ivalues');
65 … = $this->gedcom_edit_service->editLinesToGedcom(Individual::RECORD_TYPE, $levels, $tags, $values);
91 $values = Validator::parsedBody($request)->array('fvalues');
92 …dcom = $this->gedcom_edit_service->editLinesToGedcom(Family::RECORD_TYPE, $levels, $tags, $values);
/webtrees/resources/views/edit/
H A Dedit-gedcom-fields.phtml17 [, $levels, $tags, $values] = $matches;
36 if ($values[$n] !== '') {
57 <?php if ($elements[$key] instanceof EmptyElement && $values[$key] === '') : ?>
76 …<?= $elements[$key]->edit($ids[$key], $prefix . 'values[]', strtr($values[$key], ["\r" => "\n"]), …
/webtrees/app/Statistics/Google/
H A DChartMedia.php69 $values = $element->values();
73 $values[$element->canonical($type)] ?? $type,
H A DChartAge.php114 foreach ($out as $century => $values) {
115 $female_age = $values['F'] ?? 0;
116 $male_age = $values['M'] ?? 0;
H A DChartMarriageAge.php137 foreach ($out as $century => $values) {
138 $female_age = $values['F'] ?? 0;
139 $male_age = $values['M'] ?? 0;
/webtrees/app/
H A DValidator.php144 public function isInArray(array $values): self argument
146 …static fn (int|string|null $value): int|string|null => in_array($value, $values, true) ? $value : …
156 public function isInArrayKeys(array $values): self argument
158 return $this->isInArray(array_keys($values));

1234567