/webtrees/app/Factories/ |
H A D | NoteFactory.php | 25 use Fisharebest\Webtrees\Note; alias 36 private const string TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Note::RECORD_TYPE . '/'; 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Note|null 53 return new Note($xref, $gedcom ?? '', $pending, $tree); 66 return fn (object $row): Note => $this->make($row->o_id, $tree, $row->o_gedcom); 78 * @return Note 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Note 82 return new Note($xref, $gedcom, $pending, $tree); 98 ->where('o_type', '=', Note::RECORD_TYPE)
|
H A D | GedcomRecordFactory.php | 32 use Fisharebest\Webtrees\Note; alias 64 case Note::RECORD_TYPE: 157 case Note::RECORD_TYPE: 209 Note::RECORD_TYPE,
|
/webtrees/app/Contracts/ |
H A D | NoteFactoryInterface.php | 23 use Fisharebest\Webtrees\Note; alias 34 public function make(string $xref, Tree $tree, string|null $gedcom = null): Note|null; 54 * @return Note 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Note;
|
/webtrees/resources/views/components/ |
H A D | select-note.phtml | 7 use Fisharebest\Webtrees\Note; alias 12 * @var Note|null $note 33 <?php if (($note ?? null) instanceof Note) : ?>
|
/webtrees/tests/app/ |
H A D | NoteTest.php | 34 self::assertTrue(class_exists(Note::class)); 40 … $note = new Note('X123', "0 @X123@ NOTE 1\n1 CONT\n1 CONT 2\n1 CONT 3\n1 CONT 4", null, $tree); 49 $note = new Note('X123', '0 @X123@ NOTE ' . $text, null, $tree);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | TomSelectNote.php | 22 use Fisharebest\Webtrees\Note; alias 64 if ($note instanceof Note) { 71 return $results->map(static fn (Note $note): array => [
|
H A D | MergeRecordsPage.php | 28 use Fisharebest\Webtrees\Note; alias 78 'note1' => $record1 instanceof Note ? $record1 : null, 79 'note2' => $record2 instanceof Note ? $record2 : null,
|
H A D | RedirectNotePhp.php | 24 use Fisharebest\Webtrees\Note; alias 53 if ($note instanceof Note) {
|
/webtrees/app/Module/ |
H A D | SiteMapModule.php | 33 use Fisharebest\Webtrees\Note; alias 67 Note::RECORD_TYPE => 0.3, 220 ->where('o_type', '=', Note::RECORD_TYPE) 325 case Note::RECORD_TYPE: 416 ->where('o_type', '=', Note::RECORD_TYPE)
|
H A D | NoteListModule.php | 26 use Fisharebest\Webtrees\Note; alias 111 ->where('o_type', '=', Note::RECORD_TYPE) 129 ->where('o_type', '=', Note::RECORD_TYPE)
|
H A D | FixSearchAndReplace.php | 30 use Fisharebest\Webtrees\Note; alias 106 Note::RECORD_TYPE => I18N::translate('Notes'), 224 if ($params['type'] !== Note::RECORD_TYPE || $params['search-for'] === '') { 230 ->where('o_type', '=', Note::RECORD_TYPE);
|
H A D | ModuleDataFixTrait.php | 28 use Fisharebest\Webtrees\Note; alias 92 … $records = $records->concat($this->mergePendingRecords($notes, $tree, Note::RECORD_TYPE)); 297 ->where('o_type', '=', Note::RECORD_TYPE)
|
/webtrees/resources/views/admin/ |
H A D | merge-records-step-1.phtml | 13 use Fisharebest\Webtrees\Note; alias 29 * @var Note|null $note1 30 * @var Note|null $note2
|
/webtrees/app/Elements/ |
H A D | NoteStructure.php | 24 use Fisharebest\Webtrees\Note; alias 157 $value = e(Note::firstLineOfTextFromHtml($html)); 186 if ($note instanceof Note) {
|
/webtrees/app/ |
H A D | Auth.php | 367 * @param Note|null $note 370 * @return Note 374 public static function checkNoteAccess(Note|null $note, bool $edit = false): Note
|
/webtrees/resources/views/selects/ |
H A D | shared-note.phtml | 5 use Fisharebest\Webtrees\Note; alias 8 * @var Note $note
|
H A D | note.phtml | 5 use Fisharebest\Webtrees\Note; alias 8 * @var Note $note
|
/webtrees/resources/views/edit/ |
H A D | shared-note.phtml | 7 use Fisharebest\Webtrees\Note; alias 11 * @var Note $note
|
/webtrees/resources/views/ |
H A D | note-page-details.phtml | 9 use Fisharebest\Webtrees\Note; alias 14 * @var Note $record
|
H A D | note-page.phtml | 10 use Fisharebest\Webtrees\Note; alias 18 * @var Note $record
|
H A D | note-page-pending.phtml | 9 use Fisharebest\Webtrees\Note; alias 12 * @var Note $record
|
/webtrees/resources/views/icons/ |
H A D | record.phtml | 10 use Fisharebest\Webtrees\Note; alias 27 <?php elseif ($record->tag() === Note::RECORD_TYPE) : ?>
|
/webtrees/tests/app/Elements/ |
H A D | XrefNoteTest.php | 24 use Fisharebest\Webtrees\Note; alias 70 $record = $this->createMock(Note::class);
|
/webtrees/resources/views/modules/notes/ |
H A D | tab.phtml | 11 use Fisharebest\Webtrees\Note; alias 62 <?php if ($note instanceof Note) : ?>
|
/webtrees/tests/app/Http/RequestHandlers/ |
H A D | RedirectNotePhpTest.php | 27 use Fisharebest\Webtrees\Note; alias 53 $note = $this->createMock(Note::class);
|