Searched refs:SharedNote (Results 1 – 10 of 10) sorted by relevance
/webtrees/app/Factories/ |
H A D | SharedNoteFactory.php | 26 use Fisharebest\Webtrees\SharedNote; alias 36 private const TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . SharedNote::RECORD_TYPE . '/'; 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): SharedNote|null 53 return new SharedNote($xref, $gedcom ?? '', $pending, $tree); 66 return fn (object $row): SharedNote => $this->make($row->o_id, $tree, $row->o_gedcom); 78 * @return SharedNote 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): SharedNote 82 return new SharedNote($xref, $gedcom, $pending, $tree); 98 ->where('o_type', '=', SharedNote::RECORD_TYPE)
|
/webtrees/app/Contracts/ |
H A D | SharedNoteFactoryInterface.php | 23 use Fisharebest\Webtrees\SharedNote; alias 34 public function make(string $xref, Tree $tree, string|null $gedcom = null): SharedNote|null; 54 * @return SharedNote 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): SharedNote;
|
/webtrees/resources/views/components/ |
H A D | select-shared-note.phtml | 7 use Fisharebest\Webtrees\SharedNote; alias 12 * @var SharedNote|null $shared_note 33 <?php if (($shared_note ?? null) instanceof SharedNote) : ?>
|
/webtrees/app/Http/RequestHandlers/ |
H A D | TomSelectSharedNote.php | 24 use Fisharebest\Webtrees\SharedNote; alias 64 if ($note instanceof SharedNote) { 71 return $results->map(static fn (SharedNote $note): array => [
|
/webtrees/app/ |
H A D | Auth.php | 396 * @param SharedNote|null $shared_note 399 * @return SharedNote 403 …public static function checkSharedNoteAccess(SharedNote|null $shared_note, bool $edit = false): Sh…
|
H A D | SharedNote.php | 27 class SharedNote extends Note class
|
/webtrees/tests/app/Elements/ |
H A D | XrefSharedNoteTest.php | 25 use Fisharebest\Webtrees\SharedNote; alias 70 $record = $this->createMock(SharedNote::class);
|
/webtrees/tests/app/ |
H A D | SharedNoteTest.php | 30 self::assertTrue(class_exists(SharedNote::class));
|
/webtrees/app/Services/ |
H A D | SearchService.php | 37 use Fisharebest\Webtrees\SharedNote; alias 310 ->where('o_type', '=', SharedNote::RECORD_TYPE);
|
/webtrees/ |
H A D | phpstan-baseline.neon | 1048 …s function should return Fisharebest\\Webtrees\\SharedNote but returns Fisharebest\\Webtrees\\Shar… 9052 …ld return Illuminate\\Support\\Collection\<int, Fisharebest\\Webtrees\\SharedNote\> but returns Il…
|