Home
last modified time | relevance | path

Searched refs:elementFactory (Results 1 – 25 of 62) sorted by relevance

123

/webtrees/app/Elements/
H A DIndividualNonEvent.php59 'ADOP' => Registry::elementFactory()->make('INDI:ADOP')->label(),
60 'BAPM' => Registry::elementFactory()->make('INDI:BAPM')->label(),
61 'BARM' => Registry::elementFactory()->make('INDI:BARM')->label(),
62 'BASM' => Registry::elementFactory()->make('INDI:BASM')->label(),
63 'BIRT' => Registry::elementFactory()->make('INDI:BIRT')->label(),
64 'BLES' => Registry::elementFactory()->make('INDI:BLES')->label(),
65 'BURI' => Registry::elementFactory()->make('INDI:BURI')->label(),
66 'CENS' => Registry::elementFactory()->make('INDI:CENS')->label(),
67 'CHR' => Registry::elementFactory()->make('INDI:CHR')->label(),
68 'CHRA' => Registry::elementFactory()->make('INDI:CHRA')->label(),
[all …]
H A DFamilyNonEvent.php60 'ANUL' => Registry::elementFactory()->make('FAM:ANUL')->label(),
61 'CENS' => Registry::elementFactory()->make('FAM:CENS')->label(),
62 'DIV' => Registry::elementFactory()->make('FAM:DIV')->label(),
63 'DIVF' => Registry::elementFactory()->make('FAM:DIVF')->label(),
64 'ENGA' => Registry::elementFactory()->make('FAM:ENGA')->label(),
65 'MARB' => Registry::elementFactory()->make('FAM:MARB')->label(),
66 'MARC' => Registry::elementFactory()->make('FAM:MARC')->label(),
67 'MARL' => Registry::elementFactory()->make('FAM:MARL')->label(),
68 'MARS' => Registry::elementFactory()->make('FAM:MARS')->label(),
69 'MARR' => Registry::elementFactory()->make('FAM:MARR')->label(),
H A DEventsRecorded.php125 $factory = Registry::elementFactory();
162 $element = Registry::elementFactory()->make($record_type . ':' . $tag);
/webtrees/app/Http/RequestHandlers/
H A DCreateSourceAction.php51 $title = Registry::elementFactory()->make('SOUR:TITL')->canonical($title);
52 $abbreviation = Registry::elementFactory()->make('SOUR:ABBR')->canonical($abbreviation);
53 $author = Registry::elementFactory()->make('SOUR:AUTH')->canonical($author);
54 $publication = Registry::elementFactory()->make('SOUR:PUBL')->canonical($publication);
55 $repository = Registry::elementFactory()->make('SOUR:REPO')->canonical($repository);
56 $call_number = Registry::elementFactory()->make('SOUR:REPO:CALN')->canonical($call_number);
57 $text = Registry::elementFactory()->make('SOUR:TEXT')->canonical($text);
58 $restriction = Registry::elementFactory()->make('SOUR:RESN')->canonical($restriction);
H A DCreateSubmitterAction.php48 $name = Registry::elementFactory()->make('SUBM:NAME')->canonical($name);
49 $address = Registry::elementFactory()->make('SUBM:ADDR')->canonical($address);
50 $email = Registry::elementFactory()->make('SUBM:EMAIL')->canonical($email);
51 $phone = Registry::elementFactory()->make('SUBM:PHON')->canonical($phone);
52 $restriction = Registry::elementFactory()->make('SUBM:RESN')->canonical($restriction);
H A DCreateRepositoryAction.php50 $name = Registry::elementFactory()->make('REPO:NAME')->canonical($name);
51 $address = Registry::elementFactory()->make('REPO:ADDR')->canonical($address);
52 $url = Registry::elementFactory()->make('REPO:WWW')->canonical($url);
53 $restriction = Registry::elementFactory()->make('REPO:RESN')->canonical($restriction);
H A DCreateMediaObjectFromFile.php62 $file = Registry::elementFactory()->make('OBJE:FILE')->canonical($file);
63 $note = Registry::elementFactory()->make('OBJE:NOTE')->canonical($note);
64 $type = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->canonical($type);
65 $title = Registry::elementFactory()->make('OBJE:FILE:TITL')->canonical($title);
H A DCreateMediaObjectAction.php70 $note = Registry::elementFactory()->make('OBJE:NOTE')->canonical($note);
71 $type = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->canonical($type);
72 $title = Registry::elementFactory()->make('OBJE:FILE:TITL')->canonical($title);
73 $restriction = Registry::elementFactory()->make('OBJE:RESN')->canonical($restriction);
H A DTreePrivacyPage.php122 $element = Registry::elementFactory()->make($prefix . $row->tag_type);
151 … foreach (Registry::elementFactory()->make($record_type)->subtags() as $subtag => $occurrence) {
153 … $tags[$subtag] = Registry::elementFactory()->make($record_type . ':' . $subtag)->label();
162 $tags[$tag] = Registry::elementFactory()->make($tag) -> label();
H A DTreePreferencesPage.php140 $all_family_facts = Collection::make(Registry::elementFactory()->make('FAM')->subtags())
143 … ->map(static fn (string $tag): ElementInterface => Registry::elementFactory()->make($tag))
148 … $all_individual_facts = Collection::make(Registry::elementFactory()->make('INDI')->subtags())
151 … ->map(static fn (string $tag): ElementInterface => Registry::elementFactory()->make($tag))
H A DSiteTagsPage.php57 …static fn (string $tag): array => [$tag => Registry::elementFactory()->make('FAM:' . $tag)->label(…
61 …static fn (string $tag): array => [$tag => Registry::elementFactory()->make('INDI:' . $tag)->label…
82 'element_factory' => Registry::elementFactory(),
H A DSearchAdvancedPage.php197 $element_factory = Registry::elementFactory();
208 …->mapWithKeys(fn (string $fact): array => [$fact => Registry::elementFactory()->make($fact)->label…
223 $return[$field] = Registry::elementFactory()->make($tmp)->label();
H A DCreateNoteAction.php45 $note = Registry::elementFactory()->make('NOTE:CONT')->canonical($note);
46 $restriction = Registry::elementFactory()->make('NOTE:RESN')->canonical($restriction);
H A DAddUnlinkedPage.php58 $sex = Registry::elementFactory()->make('INDI:SEX')->default($tree);
59 $name = Registry::elementFactory()->make('INDI:NAME')->default($tree);
H A DAddMediaFileAction.php70 $type = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->canonical($type);
71 $title = Registry::elementFactory()->make('OBJE:FILE:TITL')->canonical($title);
/webtrees/resources/views/
H A Dmedia-page-details.phtml52 …<?= Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $record->tr…
59 …<?= Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $record->tr…
62 …<?= Registry::elementFactory()->make('OBJE:FILE:TITL')->labelValue($media_file->title(), $record->…
63 …<?= Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->labelValue($media_file->type(), $reco…
64 …<?= Registry::elementFactory()->make('OBJE:FILE:FORM')->labelValue($media_file->format(), $record-…
H A Dfact-date.phtml28 …$fact_age = Registry::elementFactory()->make($fact->tag() . ':AGE')->value($match[1], $record->tre…
34 …$husb_age = Registry::elementFactory()->make($fact->tag() . ':HUSB:AGE')->value($match[1], $record…
40 …$wife_age = Registry::elementFactory()->make($fact->tag() . ':WIFE:AGE')->value($match[1], $record…
66 …if ($tag !== 'BIRT' && Registry::elementFactory()->make($fact->tag()) instanceof AbstractEventElem…
H A Dfact-place.phtml49 …<?= Registry::elementFactory()->make($fact->tag() . ':TEMP')->labelValue($match[1], $record->tree(…
53 …<?= Registry::elementFactory()->make($fact->tag() . ':STAT')->labelValue($match[1], $record->tree(…
56 …<?= Registry::elementFactory()->make($fact->tag() . ':STAT:DATE')->labelValue((new Date($match[1])…
H A Dfact-association-structure.phtml51 … $label = Registry::elementFactory()->make($rela_tag)->value($rmatch[2], $parent->tree());
54 $label = Registry::elementFactory()->make($fact->tag())->label();
57 $label = Registry::elementFactory()->make($fact->tag() . ':_ASSO')->label();
H A Dindividual-page-name.phtml47 …<?= Registry::elementFactory()->make($fact->tag() . ':TYPE')->value($fact->attribute('TYPE'), $tre…
62 <?php $element = Registry::elementFactory()->make($fact->tag() . ':' . $tag) ?>
/webtrees/app/Services/
H A DGedcomEditService.php106 $element = Registry::elementFactory()->make($record->tag() . ':' . $tag);
139 $element = Registry::elementFactory()->make($full_tag);
236 $subtags = Registry::elementFactory()->make($record->tag())->subtags();
264 $factory = Registry::elementFactory();
/webtrees/resources/views/modules/media-list/
H A Dpage.phtml120 … $element = Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE');
133 …echo Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media_obj…
136 …echo Registry::elementFactory()->make('OBJE:FILE')->labelValue($media_file->filename(), $media_obj…
/webtrees/app/Module/
H A DResearchTaskModule.php63 Registry::elementFactory()->registerTags([
74 Registry::elementFactory()->make('FAM')->subtag('_TODO', '0:M');
75 Registry::elementFactory()->make('INDI')->subtag('_TODO', '0:M');
/webtrees/app/
H A DFact.php207 return Registry::elementFactory()->make($this->tag())->canonical($value);
273 return Registry::elementFactory()->make($this->tag() . ':' . $tag)->canonical($value);
454 $element = Registry::elementFactory()->make('FAM:MARR:TYPE');
480 return Registry::elementFactory()->make($this->tag())->label();
/webtrees/resources/views/edit/
H A Dlink-child-to-family.phtml34 <?= Registry::elementFactory()->make('INDI:FAMC:PEDI')->label() ?>
37 … <?= Registry::elementFactory()->make('INDI:FAMC:PEDI')->edit('PEDI', 'PEDI', '', $tree) ?>

123