Home
last modified time | relevance | path

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

/webtrees/app/Factories/
H A DSharedNoteFactory.php26 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 DSharedNoteFactoryInterface.php23 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 Dselect-shared-note.phtml7 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 DTomSelectSharedNote.php24 use Fisharebest\Webtrees\SharedNote; alias
64 if ($note instanceof SharedNote) {
71 return $results->map(static fn (SharedNote $note): array => [
/webtrees/app/
H A DAuth.php396 * @param SharedNote|null $shared_note
399 * @return SharedNote
403 …public static function checkSharedNoteAccess(SharedNote|null $shared_note, bool $edit = false): Sh…
H A DSharedNote.php27 class SharedNote extends Note class
/webtrees/tests/app/Elements/
H A DXrefSharedNoteTest.php25 use Fisharebest\Webtrees\SharedNote; alias
70 $record = $this->createMock(SharedNote::class);
/webtrees/tests/app/
H A DSharedNoteTest.php30 self::assertTrue(class_exists(SharedNote::class));
/webtrees/app/Services/
H A DSearchService.php37 use Fisharebest\Webtrees\SharedNote; alias
310 ->where('o_type', '=', SharedNote::RECORD_TYPE);
/webtrees/
H A Dphpstan-baseline.neon1048 …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…