Searched refs:mediaFile (Results 1 – 3 of 3) sorted by relevance
| /dokuwiki/inc/Ui/Media/ |
| H A D | Display.php | 10 protected $mediaFile; variable in dokuwiki\\Ui\\Media\\Display 20 * @param MediaFile $mediaFile 22 public function __construct(MediaFile $mediaFile) argument 24 $this->mediaFile = $mediaFile; 36 if ($this->mediaFile->isImage()) { 37 $src = ml($this->mediaFile->getId(), ['w' => $w, 'h' => $h]); 43 'alt' => $this->mediaFile->getDisplayName(), 68 if (!$this->mediaFile->isImage()) return ''; 70 [$dw, $dh] = $this->mediaFile->getDisplayDimensions($w, $h, false); 73 $id = $this->mediaFile->getId(); [all …]
|
| H A D | DisplayTile.php | 16 public function __construct(MediaFile $mediaFile) argument 18 parent::__construct($mediaFile); 22 'image' => $this->mediaFile->getId(), 23 'ns' => getNS($this->mediaFile->getId()), 35 echo '<dl title="' . $this->mediaFile->getDisplayName() . '"' . $jump . '>'; 37 …echo '<a id="l_:' . $this->mediaFile->getId() . '" class="image thumb" href="' . $this->mmUrl . '"… 43 echo '<a href="' . $this->mmUrl . '" id="h_:' . $this->mediaFile->getId() . '">' .
|
| H A D | DisplayRow.php | 18 $id = $this->mediaFile->getId(); 19 $class = 'select mediafile mf_' . $this->mediaFile->getIcoClass(); 40 if ($this->mediaFile->isWritable() && $this->mediaFile->userPermission() >= AUTH_DELETE) { 51 if ($this->mediaFile->isImage()) $this->showDetails(); 61 $id = $this->mediaFile->getId(); 71 $t = $this->mediaFile->getMeta()->getField(['IPTC.Headline', 'xmp.dc:title']); 72 $d = $this->mediaFile->getMeta()->getField([ 79 … $k = $this->mediaFile->getMeta()->getField(['IPTC.Keywords', 'IPTC.Category', 'xmp.dc:subject']);
|