PHP Class RTMediaUploadFile, rtMedia

Author: Joshua Abenazer ([email protected])
Mostra file Open project: rtCamp/rtMedia

Public Properties

Property Type Description
$fake
$files
$uploaded

Public Methods

Method Description
__construct ( $uploaded )
arrayify ( $files )
exif ( $file )
id3_validate_type ( $file )
init ( type $files ) : type Initialize the upload process
is_valid_type ( type $file ) : boolean Check for valid file types for rtMedia
populate_file_array ( type $file_array ) gather the file information for upload process
process ( ) core process of upload
safe_unlink ( $file_path )
set_file ( $files )
unset_invalid_files ( ) Remove invalid files
upload_dir ( $upload_dir )

Method Details

__construct() public method

public __construct ( $uploaded )

arrayify() public method

public arrayify ( $files )

exif() public method

public exif ( $file )

id3_validate_type() public method

public id3_validate_type ( $file )

init() public method

Initialize the upload process
public init ( type $files ) : type
$files type
return type

is_valid_type() public method

Check for valid file types for rtMedia
public is_valid_type ( type $file ) : boolean
$file type
return boolean

populate_file_array() public method

gather the file information for upload process
public populate_file_array ( type $file_array )
$file_array type

process() public method

core process of upload
public process ( )

set_file() public method

public set_file ( $files )

unset_invalid_files() public method

Remove invalid files
public unset_invalid_files ( )

upload_dir() public method

public upload_dir ( $upload_dir )

Property Details

$fake public_oe property

public $fake

$files public_oe property

public $files

$uploaded public_oe property

public $uploaded