get_fonticon_by_ext() get_fonticon_by_ext( $extension) : string Get extension icon Parameters $extension Returns string
get_fonticon_bg_by_ext() get_fonticon_bg_by_ext( $extension) : string Get extension icon background Parameters $extension Returns string
path_only() path_only( $file) : string Get path only without file name Parameters $file Returns string
fix_image_orientation() fix_image_orientation( $rotate, $source) : resource Fix image orientation Parameters $rotate $source Returns resource
create_and_copy_image() create_and_copy_image( $source, $destination, integer $quality = 100) : array Process an image Parameters $source $destination integer $quality Returns array
upload_temp_file() upload_temp_file( $source, $destination) Process a file Parameters $source $destination
new_image_upload_temp() new_image_upload_temp( $source, $destination, integer $quality = 100) : string Process a temp upload Parameters $source $destination integer $quality Returns string
new_file_upload_temp() new_file_upload_temp( $source, $destination) : string Process a temp upload for files Parameters $source $destination Returns string
get_extension_by_mime_type() get_extension_by_mime_type( $mime) : mixed Get extension by mime type Parameters $mime Returns mixed
check_image_upload() check_image_upload( $file, $field) : null|string|void Check image upload and handle errors Parameters $file $field Returns null|string|void
check_file_upload() check_file_upload( $file, $extension, $field) : null|string Check file upload and handle errors Parameters $file $extension $field Returns null|string
in_array() in_array( $value, $array) : boolean If a value exists in comma seperated list Parameters $value $array Returns boolean
delete_core_user_photo() delete_core_user_photo( $user_id, $type) Delete a main user photo Parameters $user_id $type
resize_image() resize_image( $file, $crop) : string Resize a local image Parameters $file $crop Returns string
new_user_upload() new_user_upload( $user_id, $source, $key) : string New user upload Parameters $user_id $source $key Returns string
format_bytes() format_bytes( $size, integer $precision = 1) : string Format Bytes Parameters $size integer $precision Returns string