/webtrees/app/Factories/ |
H A D | MediaFactory.php | 25 use Fisharebest\Webtrees\Media; alias 36 private const string TYPE_CHECK_REGEX = '/^0 @[^@]+@ ' . Media::RECORD_TYPE . '/'; 41 public function make(string $xref, Tree $tree, string|null $gedcom = null): Media|null 66 return fn (object $row): Media => $this->make($row->m_id, $tree, $row->m_gedcom); 78 * @return Media 80 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Media 82 return new Media($xref, $gedcom, $pending, $tree);
|
H A D | GedcomRecordFactory.php | 31 use Fisharebest\Webtrees\Media; alias 62 case Media::RECORD_TYPE: 154 case Media::RECORD_TYPE:
|
/webtrees/app/Contracts/ |
H A D | MediaFactoryInterface.php | 23 use Fisharebest\Webtrees\Media; alias 34 public function make(string $xref, Tree $tree, string|null $gedcom = null): Media|null; 54 * @return Media 56 public function new(string $xref, string $gedcom, string|null $pending, Tree $tree): Media;
|
/webtrees/app/ |
H A D | MediaFile.php | 66 private Media $media; 74 * @param Media $media 76 public function __construct(string $gedcom, Media $media) 367 * @return Media 369 public function media(): Media
|
H A D | Tree.php | 354 …* @return GedcomRecord|Individual|Family|Location|Note|Source|Repository|Media|Submitter|Submission 489 * @return Media 492 public function createMediaObject(string $gedcom): Media 498 $xref = Registry::xrefFactory()->make(Media::RECORD_TYPE);
|
H A D | Auth.php | 338 * @param Media|null $media 341 * @return Media 345 public static function checkMediaAccess(Media|null $media, bool $edit = false): Media
|
/webtrees/resources/views/components/ |
H A D | select-media.phtml | 7 use Fisharebest\Webtrees\Media; alias 12 * @var Media|null $media 33 <?php if (($media ?? null) instanceof Media) : ?>
|
/webtrees/app/Http/RequestHandlers/ |
H A D | TomSelectMediaObject.php | 22 use Fisharebest\Webtrees\Media; alias 64 if ($media instanceof Media) { 71 return $results->map(static fn (Media $media): array => [
|
H A D | MergeRecordsPage.php | 27 use Fisharebest\Webtrees\Media; alias 76 'media1' => $record1 instanceof Media ? $record1 : null, 77 'media2' => $record2 instanceof Media ? $record2 : null,
|
H A D | ManageMediaData.php | 25 use Fisharebest\Webtrees\Media; alias 116 assert($media instanceof Media); 276 * @param Media $media 280 private function mediaObjectInfo(Media $media): string
|
H A D | RedirectMediaViewerPhp.php | 24 use Fisharebest\Webtrees\Media; alias 53 if ($media instanceof Media) {
|
/webtrees/resources/views/admin/ |
H A D | merge-records-step-1.phtml | 12 use Fisharebest\Webtrees\Media; alias 27 * @var Media|null $media1 28 * @var Media|null $media2
|
H A D | fix-level-0-media-action.phtml | 8 use Fisharebest\Webtrees\Media; alias 13 * @var Media $media
|
/webtrees/resources/views/selects/ |
H A D | media.phtml | 5 use Fisharebest\Webtrees\Media; alias 8 * @var Media $media
|
/webtrees/resources/views/modals/ |
H A D | link-media-to-source.phtml | 7 use Fisharebest\Webtrees\Media; alias 11 * @var Media $media
|
H A D | link-media-to-family.phtml | 7 use Fisharebest\Webtrees\Media; alias 11 * @var Media $media
|
H A D | link-media-to-individual.phtml | 7 use Fisharebest\Webtrees\Media; alias 11 * @var Media $media
|
H A D | add-media-file.phtml | 7 use Fisharebest\Webtrees\Media; alias 12 * @var Media $media
|
H A D | edit-media-file.phtml | 7 use Fisharebest\Webtrees\Media; alias 13 * @var Media $media
|
/webtrees/resources/views/edit/ |
H A D | reorder-media-files.phtml | 7 use Fisharebest\Webtrees\Media; alias 11 * @var Media $media
|
/webtrees/resources/views/ |
H A D | media-page.phtml | 9 use Fisharebest\Webtrees\Media; alias 22 * @var Media $record
|
H A D | media-page-pending.phtml | 9 use Fisharebest\Webtrees\Media; alias 12 * @var Media $record
|
/webtrees/resources/views/icons/ |
H A D | record.phtml | 9 use Fisharebest\Webtrees\Media; alias 29 <?php elseif ($record->tag() === Media::RECORD_TYPE) : ?>
|
/webtrees/app/Module/ |
H A D | FixSearchAndReplace.php | 29 use Fisharebest\Webtrees\Media; alias 105 Media::RECORD_TYPE => I18N::translate('Media objects'), 201 if ($params['type'] !== Media::RECORD_TYPE || $params['search-for'] === '') {
|
H A D | AlbumModule.php | 25 use Fisharebest\Webtrees\Media; alias 96 return $media->filter()->filter(Media::accessFilter());
|