Searched refs:subtag (Results 1 – 10 of 10) sorted by relevance
/webtrees/app/Services/ |
H A D | GedcomEditService.php | 243 …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 D | AddNewFact.php | 62 $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 D | TreePrivacyPage.php | 151 … 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 D | AbstractElement.php | 258 * @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 D | EventTypeCitedFrom.php | 114 foreach ($subtags as $subtag) { 115 $element = Registry::elementFactory()->make($record_type . ':' . $subtag); 118 $values[$subtag] = $element->label();
|
/webtrees/app/Contracts/ |
H A D | ElementInterface.php | 95 * @param string $subtag 101 public function subtag(string $subtag, string $repeat, string $before = ''): void; function
|
/webtrees/app/ |
H A D | GedcomRecord.php | 677 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 D | fact-add-new.phtml | 86 $label_fn = static fn (string $subtag): string => Registry::elementFactory()->make($record->tag() .…
|
/webtrees/app/Module/ |
H A D | ResearchTaskModule.php | 74 Registry::elementFactory()->make('FAM')->subtag('_TODO', '0:M'); 75 Registry::elementFactory()->make('INDI')->subtag('_TODO', '0:M');
|
/webtrees/app/Factories/ |
H A D | ElementFactory.php | 69 $this->make($tag)->subtag(...$child);
|