VirtueMart  3.2.14.9808
Static Public Member Functions | Static Public Attributes | List of all members
vmUploader Class Reference

Static Public Member Functions

static getMime2ExtArray ()
 
static getSafeExt2MimeArray ()
 
static uploadFile ($urlfolder, &$obj, $overwrite=false)
 
static checkMediaType ($type, $ext)
 
static getMimeType ($p)
 

Static Public Attributes

static $fT = null
 
static $MimeTypes = null
 

Member Function Documentation

static vmUploader::checkMediaType (   $type,
  $ext 
)
static
static vmUploader::getMime2ExtArray ( )
static
static vmUploader::getMimeType (   $p)
static
static vmUploader::getSafeExt2MimeArray ( )
static
static vmUploader::uploadFile (   $urlfolder,
$obj,
  $overwrite = false 
)
static

Handles the upload process of a media, sets the mime_type, when success

Author
Max Milbers
Parameters
string$urlfolderrelative url of the folder where to store the media
Returns
name of the uploaded file

Member Data Documentation

vmUploader::$fT = null
static
vmUploader::$MimeTypes = null
static

The documentation for this class was generated from the following file: