MediaResolver.php 300 B

123456789101112131415
  1. <?php
  2. namespace dokuwiki\File;
  3. /**
  4. * Creates an absolute media ID from a relative one
  5. */
  6. class MediaResolver extends Resolver {
  7. /** @inheritDoc */
  8. public function resolveId($id, $rev = '', $isDateAt = false)
  9. {
  10. return cleanID(parent::resolveId($id, $rev, $isDateAt));
  11. }
  12. }