Lines Matching refs:ext
318 [$ext, $mime] = mimetype($id);
332 ['name' => $path, 'mime' => $mime, 'ext' => $ext],
450 [$ext, $mime] = mimetype($id);
455 $file['ext'] = $ext;
1421 [$ext] = mimetype(mediaFN($filename), false);
1423 if (file_exists(DOKU_INC . 'lib/images/fileicons/' . $size . '/' . $ext . '.png')) {
1424 $icon = DOKU_BASE . 'lib/images/fileicons/' . $size . '/' . $ext . '.png';
1721 * @param string $ext extension
1727 function media_mod_image($file, $ext, $w, $h = 0, $crop = false) argument
1741 $cache = new CacheImageMod($file, $w, $h, $ext, $crop);
1747 ->save($cache->cache, $ext);
1764 * @param string $ext extension
1769 function media_resize_image($file, $ext, $w, $h = 0) argument
1771 return media_mod_image($file, $ext, $w, $h, false);
1780 * @param string $ext extension
1785 function media_crop_image($file, $ext, $w, $h = 0) argument
1787 return media_mod_image($file, $ext, $w, $h, true);
1826 * @param string $ext extension
1830 function media_get_from_URL($url, $ext, $cache) argument
1838 $local = getCacheName(strtolower($url), ".media.$ext");
1916 foreach ($exts as $ext) {
1917 $fileid = $filebase . '.' . $ext;