Home
last modified time | relevance | path

Searched refs:subtag (Results 1 – 10 of 10) sorted by relevance

/webtrees/app/Services/
H A DGedcomEditService.php243 …btags = array_filter($subtags, fn (string $subtag): bool => !$this->isHiddenTag($record->tag() . '…
271 foreach ($subtags as $subtag => $occurrences) {
272 $hidden = str_ends_with($occurrences, ':?') || $this->isHiddenTag($tag . ':' . $subtag);
292 if (str_starts_with($part, $next_level . ' ' . $subtag)) {
293 … $return .= "\n" . $this->insertMissingLevels($tree, $tag . ':' . $subtag, $part, $include_hidden);
302 $gedcom = $next_level . ' ' . $subtag;
303 $default = $factory->make($tag . ':' . $subtag)->default($tree);
309 …$gedcom_to_add = "\n" . $this->insertMissingLevels($tree, $tag . ':' . $subtag, $gedcom, $include_…
/webtrees/app/Http/RequestHandlers/
H A DAddNewFact.php62 $subtag = Validator::attributes($request)->isTag()->string('fact');
64 if ($subtag === 'OBJE' && !Auth::canUploadMedia($tree, Auth::user())) {
72 $element = Registry::elementFactory()->make($record->tag() . ':' . $subtag);
74 $fact = new Fact(trim('1 ' . $subtag . ' ' . $element->default($tree)), $record, 'new');
83 'fact' => $subtag,
H A DTreePrivacyPage.php151 … foreach (Registry::elementFactory()->make($record_type)->subtags() as $subtag => $occurrence) {
152 if (!in_array($subtag, $exclude, true)) {
153 … $tags[$subtag] = Registry::elementFactory()->make($record_type . ':' . $subtag)->label();
/webtrees/app/Elements/
H A DAbstractElement.php258 * @param string $subtag
264 public function subtag(string $subtag, string $repeat, string $before = ''): void argument
267 $this->subtags[$subtag] = $repeat;
273 $tmp[$subtag] = $repeat;
H A DEventTypeCitedFrom.php114 foreach ($subtags as $subtag) {
115 $element = Registry::elementFactory()->make($record_type . ':' . $subtag);
118 $values[$subtag] = $element->label();
/webtrees/app/Contracts/
H A DElementInterface.php95 * @param string $subtag
101 public function subtag(string $subtag, string $repeat, string $before = ''): void; function
/webtrees/app/
H A DGedcomRecord.php677 foreach (Registry::elementFactory()->make($this->tag())->subtags() as $subtag => $repeat) {
681 if ($this->facts([$subtag], false, null, true)->count() < $max) {
682 $missing_facts[$subtag] = $subtag;
683 … $missing_facts[$subtag] = Registry::elementFactory()->make($this->tag() . ':' . $subtag)->label();
/webtrees/resources/views/
H A Dfact-add-new.phtml86 $label_fn = static fn (string $subtag): string => Registry::elementFactory()->make($record->tag() .…
/webtrees/app/Module/
H A DResearchTaskModule.php74 Registry::elementFactory()->make('FAM')->subtag('_TODO', '0:M');
75 Registry::elementFactory()->make('INDI')->subtag('_TODO', '0:M');
/webtrees/app/Factories/
H A DElementFactory.php69 $this->make($tag)->subtag(...$child);