Exemplo n.º 1
0
 /**
  * findExtensions - given a mimetype, get array of possible file extensions
  *
  * @param string $type mimetype
  *
  * @return array of applicable extensions, empty if no match
  */
 public static function findExtensions($type)
 {
     $mt = new PhpRepository();
     return $mt->findExtensions($type);
 }