![]() |
PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Public Member Functions | |
| __construct () | |
| getName () | |
| Get the original filename. More... | |
| getUploadName () | |
| Get the name of the uploaded file. More... | |
| handleUpload ($uploadDirectory, $name=null) | |
| Process the upload. More... | |
| toBytes ($str) | |
| Converts a given size with units to bytes. More... | |
Data Fields | |
| $allowedExtensions = array() | |
| $sizeLimit = null | |
| $inputName = 'qqfile' | |
| $chunksFolder = 'chunks' | |
| $chunksCleanupProbability = 0.001 | |
| $chunksExpireIn = 604800 | |
Protected Member Functions | |
| getUniqueTargetPath ($uploadDirectory, $filename) | |
| Returns a path to use with this upload. More... | |
| cleanupChunks () | |
| Deletes all file parts in the chunks folder for files uploaded more than chunksExpireIn seconds ago. More... | |
| removeDir ($dir) | |
| Removes a directory and all files contained inside. More... | |
Protected Attributes | |
| $uploadName | |
Definition at line 3 of file FineUploader.php.
| __construct | ( | ) |
Definition at line 15 of file FineUploader.php.
|
protected |
Deletes all file parts in the chunks folder for files uploaded more than chunksExpireIn seconds ago.
Definition at line 225 of file FineUploader.php.
| getName | ( | ) |
Get the original filename.
Definition at line 22 of file FineUploader.php.
|
protected |
Returns a path to use with this upload.
Check that the name does not exist, and appends a suffix otherwise.
| string | $uploadDirectory | Target directory |
| string | $filename | The name of the file to use. |
Definition at line 180 of file FineUploader.php.
| getUploadName | ( | ) |
Get the name of the uploaded file.
Definition at line 33 of file FineUploader.php.
| handleUpload | ( | $uploadDirectory, | |
$name = null |
|||
| ) |
Process the upload.
| string | $uploadDirectory | Target directory. |
| string | $name | Overwrites the name of the file. |
Definition at line 42 of file FineUploader.php.
|
protected |
Removes a directory and all files contained inside.
| string | $dir |
Definition at line 245 of file FineUploader.php.
| toBytes | ( | $str | ) |
Converts a given size with units to bytes.
| string | $str |
Definition at line 259 of file FineUploader.php.
| $allowedExtensions = array() |
Definition at line 5 of file FineUploader.php.
| $chunksCleanupProbability = 0.001 |
Definition at line 10 of file FineUploader.php.
| $chunksExpireIn = 604800 |
Definition at line 11 of file FineUploader.php.
| $chunksFolder = 'chunks' |
Definition at line 8 of file FineUploader.php.
| $inputName = 'qqfile' |
Definition at line 7 of file FineUploader.php.
| $sizeLimit = null |
Definition at line 6 of file FineUploader.php.
|
protected |
Definition at line 13 of file FineUploader.php.
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:43 -
is a product of
SAS. All rights reserved.