Home
last modified time | relevance | path

Searched refs:pending (Results 1 – 25 of 105) sorted by relevance

12345

/webtrees/app/Factories/
H A DGedcomRecordFactory.php92 $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 DFamilyFactory.php52 $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 DSharedNoteFactory.php45 $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 DSubmissionFactory.php45 $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 DNoteFactory.php45 $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 DHeaderFactory.php45 $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 DMediaFactory.php45 $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 DLocationFactory.php45 $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 DSourceFactory.php45 $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 DSubmitterFactory.php45 $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 DIndividualFactory.php51 $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 DRepositoryFactory.php46 $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 DGedcomRecord.php81 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 DFamily.php46 * @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 DSourceFactoryInterface.php50 * @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 DHeaderFactoryInterface.php50 * @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 DLocationFactoryInterface.php50 * @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 DSubmitterFactoryInterface.php50 * @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 DGedcomRecordFactoryInterface.php41 * @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 DRepositoryFactoryInterface.php50 * @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 DSharedNoteFactoryInterface.php50 * @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 DFamilyFactoryInterface.php50 * @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 DSubmissionFactoryInterface.php50 * @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 DMediaFactoryInterface.php50 * @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 DNoteFactoryInterface.php50 * @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

12345