Lines Matching refs:media
583 $media = Registry::mediaFactory()->make($xref, $tree);
584 $media = Auth::checkMediaAccess($media);
585 $name = $media->fullName();
595 'record' => $media,
605 $media = Registry::mediaFactory()->make($xref, $tree);
606 $media = Auth::checkMediaAccess($media);
608 $this->addMediaToCart($media);
610 return redirect($media->url());
843 protected function addMediaToCart(Media $media): void argument
848 $tree = $media->tree()->name();
849 $xref = $media->xref();
856 $this->addNoteLinksToCart($media);
865 $media = Registry::mediaFactory()->make($xref, $record->tree());
867 if ($media instanceof Media && $media->canShow()) {
868 $this->addMediaToCart($media);