Home
last modified time | relevance | path

Searched refs:make (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/webtrees/resources/views/admin/
H A Dtags.phtml62 <?= $element_factory->make('INDI:NAME:NPFX')->label() ?>
76 <?= $element_factory->make('INDI:NAME:SPFX')->label() ?>
90 <?= $element_factory->make('INDI:NAME:NSFX')->label() ?>
104 <?= $element_factory->make('INDI:NAME:NICK')->label() ?>
116 <?= $element_factory->make('INDI:NAME:FONE')->label() ?>
130 <?= $element_factory->make('INDI:NAME:ROMN')->label() ?>
144 <?= $element_factory->make('INDI:NAME:NOTE')->label() ?>
158 <?= $element_factory->make('INDI:NAME:SOUR')->label() ?>
192 <?= $element_factory->make('INDI:*:PLAC:MAP')->label() ?>
206 <?= $element_factory->make('INDI:*:PLAC:FONE')->label() ?>
[all …]
/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(),
/webtrees/app/Factories/
H A DGedcomRecordFactory.php49 public function make(string $xref, Tree $tree, string|null $gedcom = null): GedcomRecord|null function in Fisharebest\\Webtrees\\Factories\\GedcomRecordFactory
55 return Registry::familyFactory()->make($xref, $tree, $gedcom);
57 return Registry::headerFactory()->make($xref, $tree, $gedcom);
59 return Registry::individualFactory()->make($xref, $tree, $gedcom);
61 return Registry::locationFactory()->make($xref, $tree, $gedcom);
63 return Registry::mediaFactory()->make($xref, $tree, $gedcom);
65 return Registry::noteFactory()->make($xref, $tree, $gedcom);
67 return Registry::repositoryFactory()->make($xref, $tree, $gedcom);
69 return Registry::sourceFactory()->make($xref, $tree, $gedcom);
71 return Registry::submitterFactory()->make($xref, $tree, $gedcom);
[all …]
H A DEncodingFactory.php67 return $this->make($encoding);
78 return $this->make($encoding);
143 return $this->make($encoding);
151 return $this->make(UTF8::NAME);
162 public function make(string $name): EncodingInterface function in Fisharebest\\Webtrees\\Factories\\EncodingFactory
/webtrees/tests/app/Factories/
H A DCalendarDateFactoryTest.php39 $date = $factory->make('');
62 $date = $factory->make($calendar_escape);
74 $date = $factory->make('@#DSTARDATE@');
85 $date = $factory->make('01 JAN 1970');
96 $date = $factory->make('JAN 1970');
107 $date = $factory->make('1970');
118 $date = $factory->make('THE MID 1960S');
129 $date = $factory->make('PERHAPS FEB OR MAR IN 1960 or 1961');
140 $date = $factory->make('PERHAPS 11 OR 12 FEB OR MAR IN 1960 or 1961');
151 $date = $factory->make('PERHAPS FEB OR MAR');
[all …]
H A DEncodingFactoryTest.php100 static::assertInstanceOf(UTF8::class, $factory->make(UTF8::NAME));
101 static::assertInstanceOf(UTF16BE::class, $factory->make(UTF16BE::NAME));
102 static::assertInstanceOf(UTF16LE::class, $factory->make(UTF16LE::NAME));
103 static::assertInstanceOf(ANSEL::class, $factory->make(ANSEL::NAME));
104 static::assertInstanceOf(ASCII::class, $factory->make(ASCII::NAME));
105 static::assertInstanceOf(CP437::class, $factory->make(CP437::NAME));
106 static::assertInstanceOf(CP850::class, $factory->make(CP850::NAME));
107 static::assertInstanceOf(Windows1250::class, $factory->make(Windows1250::NAME));
108 static::assertInstanceOf(Windows1251::class, $factory->make(Windows1251::NAME));
109 static::assertInstanceOf(Windows1252::class, $factory->make(Windows1252::NAME));
[all …]
H A DSurnameTraditionFactoryTest.php42 …self::assertInstanceOf(DefaultSurnameTradition::class, $factory->make(SurnameTraditionFactoryInter…
43 …self::assertInstanceOf(IcelandicSurnameTradition::class, $factory->make(SurnameTraditionFactoryInt…
44 …self::assertInstanceOf(LithuanianSurnameTradition::class, $factory->make(SurnameTraditionFactoryIn…
45 …self::assertInstanceOf(MatrilinealSurnameTradition::class, $factory->make(SurnameTraditionFactoryI…
46 …self::assertInstanceOf(PaternalSurnameTradition::class, $factory->make(SurnameTraditionFactoryInte…
47 …self::assertInstanceOf(PatrilinealSurnameTradition::class, $factory->make(SurnameTraditionFactoryI…
48 …self::assertInstanceOf(PolishSurnameTradition::class, $factory->make(SurnameTraditionFactoryInterf…
49 …self::assertInstanceOf(PortugueseSurnameTradition::class, $factory->make(SurnameTraditionFactoryIn…
50 …self::assertInstanceOf(SpanishSurnameTradition::class, $factory->make(SurnameTraditionFactoryInter…
60 self::assertInstanceOf(DefaultSurnameTradition::class, $factory->make('FOOBAR'));
/webtrees/app/Module/
H A DRelationshipsChartModule.php146 $my_record = Registry::individualFactory()->make($my_xref, $individual->tree());
229 $individual1 = Registry::individualFactory()->make($xref, $tree);
230 $individual2 = Registry::individualFactory()->make($xref2, $tree);
317 $nodes = Collection::make($path)
320 return Registry::individualFactory()->make($xref, $tree);
323 return Registry::familyFactory()->make($xref, $tree);
351 …ionships[$n], Registry::individualFactory()->make($path[$n - 1], $tree), Registry::individualFacto…
358 …ionships[$n], Registry::individualFactory()->make($path[$n - 1], $tree), Registry::individualFacto…
361 …ionships[$n], Registry::individualFactory()->make($path[$n - 1], $tree), Registry::individualFacto…
369 …ionships[$n], Registry::individualFactory()->make($path[$n - 1], $tree), Registry::individualFacto…
[all …]
H A DClippingsCartModule.php262 $object = Registry::gedcomRecordFactory()->make($xref, $tree);
356 … fn (string $xref): GedcomRecord|null => Registry::gedcomRecordFactory()->make($xref, $tree), $xre…
371 $family = Registry::familyFactory()->make($xref, $tree);
399 $family = Registry::familyFactory()->make($xref, $tree);
443 $individual = Registry::individualFactory()->make($xref, $tree);
483 $individual = Registry::individualFactory()->make($xref, $tree);
549 $location = Registry::locationFactory()->make($xref, $tree);
571 $location = Registry::locationFactory()->make($xref, $tree);
583 $media = Registry::mediaFactory()->make($xref, $tree);
605 $media = Registry::mediaFactory()->make($xref, $tree);
[all …]
H A DFamilyTreeFavoritesModule.php137 $row->record = Registry::gedcomRecordFactory()->make($row->xref, $tree);
250 return Registry::individualFactory()->make($xref, $tree);
253 return Registry::familyFactory()->make($xref, $tree);
256 return Registry::sourceFactory()->make($xref, $tree);
259 return Registry::repositoryFactory()->make($xref, $tree);
262 return Registry::mediaFactory()->make($xref, $tree);
H A DUserFavoritesModule.php139 $row->record = Registry::gedcomRecordFactory()->make($row->xref, $tree);
254 return Registry::individualFactory()->make($xref, $tree);
257 return Registry::familyFactory()->make($xref, $tree);
260 return Registry::sourceFactory()->make($xref, $tree);
263 return Registry::repositoryFactory()->make($xref, $tree);
266 return Registry::mediaFactory()->make($xref, $tree);
/webtrees/app/
H A DFact.php207 return Registry::elementFactory()->make($this->tag())->canonical($value);
229 return Registry::familyFactory()->make($xref, $this->record->tree());
235 return Registry::individualFactory()->make($xref, $this->record->tree());
238 Registry::individualFactory()->make($xref, $this->record->tree()) ??
239 Registry::submitterFactory()->make($xref, $this->record->tree());
241 return Registry::sourceFactory()->make($xref, $this->record->tree());
243 return Registry::mediaFactory()->make($xref, $this->record->tree());
245 return Registry::repositoryFactory()->make($xref, $this->record->tree());
247 return Registry::noteFactory()->make($xref, $this->record->tree());
251 return Registry::submitterFactory()->make($xref, $this->record->tree());
[all …]
H A DTree.php363 $xref = Registry::xrefFactory()->make($match[1]);
408 $xref = Registry::xrefFactory()->make(Family::RECORD_TYPE);
453 $xref = Registry::xrefFactory()->make(Individual::RECORD_TYPE);
498 $xref = Registry::xrefFactory()->make(Media::RECORD_TYPE);
542 $individual = Registry::individualFactory()->make($xref, $this);
545 $family = Registry::familyFactory()->make($xref, $this);
554 …$individual = Registry::individualFactory()->make($this->getUserPreference($user, UserInterface::P…
558 …$individual = Registry::individualFactory()->make($this->getUserPreference($user, UserInterface::P…
562 …$individual = Registry::individualFactory()->make($this->getPreference('PEDIGREE_ROOT_ID'), $this);
570 $individual = Registry::individualFactory()->make($xref, $this);
/webtrees/app/Services/
H A DDataFixService.php53 return Registry::familyFactory()->make($xref, $tree);
56 return Registry::individualFactory()->make($xref, $tree);
59 return Registry::noteFactory()->make($xref, $tree);
62 return Registry::mediaFactory()->make($xref, $tree);
65 return Registry::repositoryFactory()->make($xref, $tree);
68 return Registry::sourceFactory()->make($xref, $tree);
71 return Registry::submitterFactory()->make($xref, $tree);
74 return Registry::gedcomRecordFactory()->make($xref, $tree);
112 $record = Registry::gedcomRecordFactory()->make($match[0], $tree);
H A DServerCheckService.php97 $warnings = Collection::make([
283 return Collection::make([
289 return Collection::make([
297 return Collection::make([
303 return Collection::make([
H A DGedcomEditService.php93 …$name_facts = Collection::make($names)->map(static fn (string $gedcom): Fact => new Fact($gedcom, …
106 $element = Registry::elementFactory()->make($record->tag() . ':' . $tag);
139 $element = Registry::elementFactory()->make($full_tag);
236 $subtags = Registry::elementFactory()->make($record->tag())->subtags();
265 $subtags = $factory->make($tag)->subtags();
303 $default = $factory->make($tag . ':' . $subtag)->default($tree);
/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 DTreePreferencesPage.php134 …$pedigree_individual = Registry::individualFactory()->make($tree->getPreference('PEDIGREE_ROOT_ID'…
140 $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 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 DTreePrivacyPage.php115 $row->record = Registry::gedcomRecordFactory()->make($row->xref, $tree);
122 $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 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);
/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-…
/webtrees/app/Statistics/Repository/
H A DFamilyRepository.php374 $family = Registry::familyFactory()->make($fam->family, $this->tree);
375 $child1 = Registry::individualFactory()->make($fam->ch1, $this->tree);
376 $child2 = Registry::individualFactory()->make($fam->ch2, $this->tree);
408 $family = Registry::familyFactory()->make($fam->family, $this->tree);
409 $child1 = Registry::individualFactory()->make($fam->ch1, $this->tree);
410 $child2 = Registry::individualFactory()->make($fam->ch2, $this->tree);
469 $family = Registry::familyFactory()->make($fam->family, $this->tree);
470 $child1 = Registry::individualFactory()->make($fam->ch1, $this->tree);
471 $child2 = Registry::individualFactory()->make($fam->ch2, $this->tree);
844 $person = Registry::individualFactory()->make($row->id, $this->tree);
[all …]

12345678910>>...16