PHP Class PunkAve\FileUploaderBundle\BlueImp\UploadHandler

Copyright 2010, Sebastian Tschan https://blueimp.net Licensed under the MIT license: http://www.opensource.org/licenses/MIT
Datei anzeigen Open project: punkave/symfony2-file-uploader-bundle

Protected Properties

Property Type Description
$options

Public Methods

Method Description
__construct ( $options = null )
add_png_to_ps_extension ( $filename )
delete ( )
get ( )
is_ps_file ( $filename )
post ( )

Protected Methods

Method Description
create_scaled_image ( $file_name, $options )
getFullUrl ( )
get_file_object ( $file_name )
get_file_objects ( )
handle_file_upload ( $uploaded_file, $name, $size, $type, $error, $index )
handle_form_data ( $file, $index )
orient_image ( $file_path )
set_file_delete_url ( $file )
trim_file_name ( $name, $type, $index )
upcount_name ( $name )
upcount_name_callback ( $matches )
validate ( $uploaded_file, $file, $error, $index )

Method Details

__construct() public method

public __construct ( $options = null )

add_png_to_ps_extension() public method

public add_png_to_ps_extension ( $filename )

create_scaled_image() protected method

protected create_scaled_image ( $file_name, $options )

delete() public method

public delete ( )

get() public method

public get ( )

getFullUrl() protected method

protected getFullUrl ( )

get_file_object() protected method

protected get_file_object ( $file_name )

get_file_objects() protected method

protected get_file_objects ( )

handle_file_upload() protected method

protected handle_file_upload ( $uploaded_file, $name, $size, $type, $error, $index )

handle_form_data() protected method

protected handle_form_data ( $file, $index )

is_ps_file() public method

public is_ps_file ( $filename )

orient_image() protected method

protected orient_image ( $file_path )

post() public method

public post ( )

set_file_delete_url() protected method

protected set_file_delete_url ( $file )

trim_file_name() protected method

protected trim_file_name ( $name, $type, $index )

upcount_name() protected method

protected upcount_name ( $name )

upcount_name_callback() protected method

protected upcount_name_callback ( $matches )

validate() protected method

protected validate ( $uploaded_file, $file, $error, $index )

Property Details

$options protected_oe property

protected $options