/webtrees/app/Factories/ |
H A D | GedcomRecordFactory.php | 92 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\GedcomRecordFactory 94 if ($gedcom === null && $pending === null) { 98 $xref = $this->extractXref($gedcom ?? $pending, $xref); 99 $type = $this->extractType($gedcom ?? $pending); 101 return $this->newGedcomRecord($type, $xref, $gedcom ?? '', $pending, $tree); 110 * @param string|null $pending null for a record with no pending edits, 116 … public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): GedcomRecord argument 118 return new GedcomRecord($xref, $gedcom, $pending, $tree); 137 * @param string|null $pending 142 …newGedcomRecord(string $type, string $xref, string $gedcom, string|null $pending, Tree $tree): Ged… argument [all …]
|
H A D | FamilyFactory.php | 52 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\FamilyFactory 54 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 58 $xref = $this->extractXref($gedcom ?? $pending, $xref); 61 …_all('/\n1 (?:HUSB|WIFE|CHIL) @(' . Gedcom::REGEX_XREF . ')@/', $gedcom . "\n" . $pending, $match); 68 return $this->new($xref, $gedcom ?? '', $pending, $tree); 89 * @param string|null $pending null for a record with no pending edits, 95 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Family argument 97 return new Family($xref, $gedcom, $pending, $tree);
|
H A D | SharedNoteFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\SharedNoteFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return new SharedNote($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): SharedNote argument 82 return new SharedNote($xref, $gedcom, $pending, $tree);
|
H A D | SubmissionFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\SubmissionFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return $this->new($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submission argument 82 return new Submission($xref, $gedcom, $pending, $tree);
|
H A D | NoteFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\NoteFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return new Note($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Note argument 82 return new Note($xref, $gedcom, $pending, $tree);
|
H A D | HeaderFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\HeaderFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return $this->new($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Header argument 82 return new Header($xref, $gedcom, $pending, $tree);
|
H A D | MediaFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\MediaFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return $this->new($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Media argument 82 return new Media($xref, $gedcom, $pending, $tree);
|
H A D | LocationFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\LocationFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return $this->new($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Location argument 82 return new Location($xref, $gedcom, $pending, $tree);
|
H A D | SourceFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\SourceFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return $this->new($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Source argument 82 return new Source($xref, $gedcom, $pending, $tree);
|
H A D | SubmitterFactory.php | 45 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\SubmitterFactory 47 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 51 $xref = $this->extractXref($gedcom ?? $pending, $xref); 53 return $this->new($xref, $gedcom ?? '', $pending, $tree); 74 * @param string|null $pending null for a record with no pending edits, 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submitter argument 82 return new Submitter($xref, $gedcom, $pending, $tree);
|
H A D | IndividualFactory.php | 51 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\IndividualFactory 53 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 56 $xref = $this->extractXref($gedcom ?? $pending, $xref); 58 return $this->new($xref, $gedcom ?? '', $pending, $tree); 79 * @param string|null $pending null for a record with no pending edits, 85 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Individual argument 87 return new Individual($xref, $gedcom, $pending, $tree);
|
H A D | RepositoryFactory.php | 46 $pending = $this->pendingChanges($tree)->get($xref); variable in Fisharebest\\Webtrees\\Factories\\RepositoryFactory 48 … if ($gedcom === null && ($pending === null || !preg_match(self::TYPE_CHECK_REGEX, $pending))) { 52 $xref = $this->extractXref($gedcom ?? $pending, $xref); 54 return $this->new($xref, $gedcom ?? '', $pending, $tree); 80 * @param string|null $pending null for a record with no pending edits, 86 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Repository argument 88 return new Repository($xref, $gedcom, $pending, $tree);
|
/webtrees/app/ |
H A D | GedcomRecord.php | 81 protected string|null $pending; variable in Fisharebest\\Webtrees\\GedcomRecord 100 * @param string|null $pending null for a record with no pending edits, 104 public function __construct(string $xref, string $gedcom, string|null $pending, Tree $tree) argument 108 $this->pending = $pending; 199 return $this->pending ?? $this->gedcom; 209 return $this->pending !== null; 219 return $this->pending === ''; 307 [$gedcom] = explode("\n", $this->gedcom . $this->pending, 2); 797 if ($this->pending === '') { 804 if ($this->pending !== null && $this->pending !== '') { [all …]
|
H A D | Family.php | 46 * @param string|null $pending null for a record with no pending edits, 50 public function __construct(string $xref, string $gedcom, string|null $pending, Tree $tree) argument 52 parent::__construct($xref, $gedcom, $pending, $tree); 55 $gedcom_pending = $gedcom . "\n" . $pending;
|
/webtrees/app/Contracts/ |
H A D | SourceFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Source; argument
|
H A D | HeaderFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Header; argument
|
H A D | LocationFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Location; argument
|
H A D | SubmitterFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submitter; argument
|
H A D | GedcomRecordFactoryInterface.php | 41 * @param string|null $pending null for a record with no pending edits, 47 … public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): GedcomRecord; argument
|
H A D | RepositoryFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Repository; argument
|
H A D | SharedNoteFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): SharedNote; argument
|
H A D | FamilyFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Family; argument
|
H A D | SubmissionFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Submission; argument
|
H A D | MediaFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Media; argument
|
H A D | NoteFactoryInterface.php | 50 * @param string|null $pending null for a record with no pending edits, 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Note; argument
|