[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 145 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FileBag:: (6 methods):
__construct()
replace()
set()
add()
convertFileInformation()
fixPhpFilesArray()
__construct(array $parameters = array() X-Ref |
Constructor. param: array $parameters An array of HTTP files |
replace(array $files = array() X-Ref |
{@inheritdoc} |
set($key, $value) X-Ref |
{@inheritdoc} |
add(array $files = array() X-Ref |
{@inheritdoc} |
convertFileInformation($file) X-Ref |
Converts uploaded files to UploadedFile instances. param: array|UploadedFile $file A (multi-dimensional) array of uploaded file information return: array A (multi-dimensional) array of UploadedFile instances |
fixPhpFilesArray($data) X-Ref |
Fixes a malformed PHP $_FILES array. PHP has a bug that the format of the $_FILES array differs, depending on whether the uploaded file fields had normal field names or array-like field names ("normal" vs. "parent[child]"). This method fixes the array to look like the "normal" $_FILES array. It's safe to pass an already converted array, in which case this method just returns the original array unmodified. param: array $data return: array |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |