Lines Matching defs:ext
393 * @param string $ext file extension
396 function metaFN($id, $ext)
402 $fn = $conf['metadir'] . '/' . utf8_encodeFN($id) . $ext;
412 * @param string $ext extension of media
415 function mediaMetaFN($id, $ext)
421 $fn = $conf['mediametadir'] . '/' . utf8_encodeFN($id) . $ext;
464 $ext = mimetype($id);
465 $name = substr($id, 0, -1 * strlen($ext[0]) - 1);
466 $fn = $conf['mediaolddir'] . '/' . utf8_encodeFN($name . '.' . ( (int) $rev ) . '.' . $ext[0]);
476 * @param string $ext The file extension (usually txt)
481 function localeFN($id, $ext = 'txt')
484 $file = DOKU_CONF . 'lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
486 $file = DOKU_INC . 'inc/lang/' . $conf['lang'] . '/' . $id . '.' . $ext;
489 $file = DOKU_INC . 'inc/lang/en/' . $id . '.' . $ext;
604 * @param string $ext This is appended to the filename if given
607 function getCacheName($data, $ext = '')
611 $file = $conf['cachedir'] . '/' . $md5[0] . '/' . $md5 . $ext;