class
UploadHandler
Properties
protected
|
$options |
|
|
protected
|
$error_messages |
|
|
protected
|
$image_objects |
|
|
Methods
__construct($options = null, $initialize = true, $error_messages = null)
No description
get_file_size($file_path, $clear_stat_cache = false)
No description
validate($uploaded_file, $file, $error, $index)
No description
get_unique_filename($file_path, $name, $size, $type, $error, $index, $content_range)
No description
fix_file_extension($file_path, $name, $size, $type, $error, $index, $content_range)
No description
trim_file_name($file_path, $name, $size, $type, $error, $index, $content_range)
No description
get_file_name($file_path, $name, $size, $type, $error, $index, $content_range)
No description
handle_file_upload($uploaded_file, $name, $size, $type, $error, $index = null, $content_range = null)
No description
body($str)
No description
get($print_response = true)
No description
post($print_response = true)
No description
delete($print_response = true)
No description
Details
at line 43
__construct($options = null, $initialize = true, $error_messages = null)
at line 165
protected
initialize()
at line 187
protected
get_full_url()
at line 200
protected
get_user_id()
at line 205
protected
get_user_path()
at line 212
protected
get_upload_path($file_name = null, $version = null)
at line 227
protected
get_query_separator($url)
at line 231
protected
get_download_url($file_name, $version = null, $direct = false)
at line 255
protected
set_additional_file_properties($file)
at line 271
protected
fix_integer_overflow($size)
at line 278
protected
get_file_size($file_path, $clear_stat_cache = false)
at line 289
protected
is_valid_file_object($file_name)
at line 297
protected
get_file_object($file_name)
at line 321
protected
get_file_objects($iteration_method = 'get_file_object')
at line 332
protected
count_file_objects()
at line 336
protected
get_error_message($error)
at line 341
get_config_bytes($val)
at line 355
protected
validate($uploaded_file, $file, $error, $index)
at line 440
protected
upcount_name_callback($matches)
at line 446
protected
upcount_name($name)
at line 455
protected
get_unique_filename($file_path, $name, $size, $type, $error, $index, $content_range)
at line 472
protected
fix_file_extension($file_path, $name, $size, $type, $error, $index, $content_range)
at line 506
protected
trim_file_name($file_path, $name, $size, $type, $error, $index, $content_range)
at line 519
protected
get_file_name($file_path, $name, $size, $type, $error, $index, $content_range)
at line 535
protected
get_scaled_image_file_paths($file_name, $version)
at line 549
protected
gd_get_image_object($file_path, $func, $no_cache = false)
at line 557
protected
gd_set_image_object($file_path, $image)
at line 562
protected
gd_destroy_image_object($file_path)
at line 567
protected
gd_imageflip($image, $mode)
at line 609
protected
gd_orient_image($file_path, $src_img)
at line 666
protected
gd_create_scaled_image($file_name, $version, $options)
at line 777
protected
imagick_get_image_object($file_path, $no_cache = false)
at line 792
protected
imagick_set_image_object($file_path, $image)
at line 797
protected
imagick_destroy_image_object($file_path)
at line 802
protected
imagick_orient_image($image)
at line 836
protected
imagick_create_scaled_image($file_name, $version, $options)
at line 916
protected
imagemagick_create_scaled_image($file_name, $version, $options)
at line 960
protected
get_image_size($file_path)
at line 995
protected
create_scaled_image($file_name, $version, $options)
at line 1005
protected
destroy_image_object($file_path)
at line 1011
protected
is_valid_image_file($file_path)
at line 1022
protected
handle_image_file($file_path, $file)
at line 1046
protected
handle_file_upload($uploaded_file, $name, $size, $type, $error, $index = null, $content_range = null)
at line 1099
protected
readfile($file_path)
at line 1115
protected
body($str)
at line 1123
protected
get_upload_data($id)
at line 1127
protected
get_query_param($id)
at line 1131
protected
get_server_var($id)
at line 1139
protected
get_version_param()
at line 1143
protected
get_singular_param_name()
at line 1147
protected
get_file_name_param()
at line 1152
protected
get_file_names_params()
at line 1163
protected
get_file_type($file_path)
at line 1177
protected
download()
at line 1238
generate_response($content, $print_response = true)
at line 1262
get_response()
at line 1278
get($print_response = true)
at line 1295
post($print_response = true)
at line 1351
delete($print_response = true)