[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 144 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 |
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: UploadedFile[]|UploadedFile|null 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. return: array |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |