Home
last modified time | relevance | path

Searched refs:Media (Results 1 – 25 of 139) sorted by relevance

123456

/webtrees/app/Factories/
H A DMediaFactory.php25 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 DGedcomRecordFactory.php31 use Fisharebest\Webtrees\Media; alias
62 case Media::RECORD_TYPE:
154 case Media::RECORD_TYPE:
/webtrees/app/Contracts/
H A DMediaFactoryInterface.php23 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 DMediaFile.php66 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 DTree.php354 …* @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 DAuth.php338 * @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 Dselect-media.phtml7 use Fisharebest\Webtrees\Media; alias
12 * @var Media|null $media
33 <?php if (($media ?? null) instanceof Media) : ?>
/webtrees/app/Http/RequestHandlers/
H A DTomSelectMediaObject.php22 use Fisharebest\Webtrees\Media; alias
64 if ($media instanceof Media) {
71 return $results->map(static fn (Media $media): array => [
H A DMergeRecordsPage.php27 use Fisharebest\Webtrees\Media; alias
76 'media1' => $record1 instanceof Media ? $record1 : null,
77 'media2' => $record2 instanceof Media ? $record2 : null,
H A DManageMediaData.php25 use Fisharebest\Webtrees\Media; alias
116 assert($media instanceof Media);
276 * @param Media $media
280 private function mediaObjectInfo(Media $media): string
H A DRedirectMediaViewerPhp.php24 use Fisharebest\Webtrees\Media; alias
53 if ($media instanceof Media) {
/webtrees/resources/views/admin/
H A Dmerge-records-step-1.phtml12 use Fisharebest\Webtrees\Media; alias
27 * @var Media|null $media1
28 * @var Media|null $media2
H A Dfix-level-0-media-action.phtml8 use Fisharebest\Webtrees\Media; alias
13 * @var Media $media
/webtrees/resources/views/selects/
H A Dmedia.phtml5 use Fisharebest\Webtrees\Media; alias
8 * @var Media $media
/webtrees/resources/views/modals/
H A Dlink-media-to-source.phtml7 use Fisharebest\Webtrees\Media; alias
11 * @var Media $media
H A Dlink-media-to-family.phtml7 use Fisharebest\Webtrees\Media; alias
11 * @var Media $media
H A Dlink-media-to-individual.phtml7 use Fisharebest\Webtrees\Media; alias
11 * @var Media $media
H A Dadd-media-file.phtml7 use Fisharebest\Webtrees\Media; alias
12 * @var Media $media
H A Dedit-media-file.phtml7 use Fisharebest\Webtrees\Media; alias
13 * @var Media $media
/webtrees/resources/views/edit/
H A Dreorder-media-files.phtml7 use Fisharebest\Webtrees\Media; alias
11 * @var Media $media
/webtrees/resources/views/
H A Dmedia-page.phtml9 use Fisharebest\Webtrees\Media; alias
22 * @var Media $record
H A Dmedia-page-pending.phtml9 use Fisharebest\Webtrees\Media; alias
12 * @var Media $record
/webtrees/resources/views/icons/
H A Drecord.phtml9 use Fisharebest\Webtrees\Media; alias
29 <?php elseif ($record->tag() === Media::RECORD_TYPE) : ?>
/webtrees/app/Module/
H A DFixSearchAndReplace.php29 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 DAlbumModule.php25 use Fisharebest\Webtrees\Media; alias
96 return $media->filter()->filter(Media::accessFilter());

123456