|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (array $parameters=[]) | |
| __construct (array $parameters=array()) | |
| add (array $files=[]) | |
| add (array $files=array()) | |
| replace (array $files=[]) | |
| replace (array $files=array()) | |
| set ($key, $value) | |
| set ($key, $value) | |
Public Member Functions inherited from Symfony\Component\HttpFoundation\ParameterBag | |
| all () | |
| all () | |
| count () | |
| count () | |
| filter ($key, $default=null, $filter=FILTER_DEFAULT, $options=[]) | |
| filter ($key, $default=null, $filter=FILTER_DEFAULT, $options=array()) | |
| get ($key, $default=null) | |
| get ($key, $default=null) | |
| getAlnum ($key, $default='') | |
| getAlnum ($key, $default='') | |
| getAlpha ($key, $default='') | |
| getAlpha ($key, $default='') | |
| getBoolean ($key, $default=false) | |
| getBoolean ($key, $default=false) | |
| getDigits ($key, $default='') | |
| getDigits ($key, $default='') | |
| getInt ($key, $default=0) | |
| getInt ($key, $default=0) | |
| getIterator () | |
| getIterator () | |
| has ($key) | |
| has ($key) | |
| keys () | |
| keys () | |
| remove ($key) | |
| remove ($key) | |
Protected Member Functions | |
| convertFileInformation ($file) | |
| convertFileInformation ($file) | |
| fixPhpFilesArray ($data) | |
| fixPhpFilesArray ($data) | |
Additional Inherited Members | |
Protected Attributes inherited from Symfony\Component\HttpFoundation\ParameterBag | |
| $parameters | |
FileBag is a container for uploaded files.
Definition at line 22 of file lib/vendor/symfony/http-foundation/FileBag.php.
| Symfony\Component\HttpFoundation\FileBag::__construct | ( | array | $parameters = array() | ) |
Constructor.
| array | $parameters | An array of HTTP files |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 31 of file lib/vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\ParameterBag\$parameters, and Symfony\Component\HttpFoundation\FileBag\replace().
| Symfony\Component\HttpFoundation\FileBag::__construct | ( | array | $parameters = [] | ) |
| array | UploadedFile[] | $parameters | An array of HTTP files |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 29 of file vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\ParameterBag\$parameters, and Symfony\Component\HttpFoundation\FileBag\replace().
| Symfony\Component\HttpFoundation\FileBag::add | ( | array | $files = [] | ) |
{Adds parameters.
| array | $parameters | An array of parameters |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 58 of file vendor/symfony/http-foundation/FileBag.php.
| Symfony\Component\HttpFoundation\FileBag::add | ( | array | $files = array() | ) |
{Adds parameters.
| array | $parameters | An array of parameters |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 60 of file lib/vendor/symfony/http-foundation/FileBag.php.
Referenced by Symfony\Component\HttpFoundation\FileBag\replace().
|
protected |
Converts uploaded files to UploadedFile instances.
| array | UploadedFile | $file | A (multi-dimensional) array of uploaded file information |
Definition at line 72 of file vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\FileBag\fixPhpFilesArray().
|
protected |
Converts uploaded files to UploadedFile instances.
| array | UploadedFile | $file | A (multi-dimensional) array of uploaded file information |
Definition at line 74 of file lib/vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\FileBag\fixPhpFilesArray().
Referenced by Symfony\Component\HttpFoundation\FileBag\set().
|
protected |
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.
| array | $data |
Definition at line 115 of file lib/vendor/symfony/http-foundation/FileBag.php.
Referenced by Symfony\Component\HttpFoundation\FileBag\convertFileInformation(), and Symfony\Component\HttpFoundation\FileBag\fixPhpFilesArray().
|
protected |
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.
| array | $data |
Definition at line 116 of file vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\FileBag\fixPhpFilesArray().
| Symfony\Component\HttpFoundation\FileBag::replace | ( | array | $files = [] | ) |
{Replaces the current parameters by a new set.
| array | $parameters | An array of parameters |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 37 of file vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\FileBag\add().
| Symfony\Component\HttpFoundation\FileBag::replace | ( | array | $files = array() | ) |
{Replaces the current parameters by a new set.
| array | $parameters | An array of parameters |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 39 of file lib/vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\FileBag\add().
Referenced by Symfony\Component\HttpFoundation\FileBag\__construct().
| Symfony\Component\HttpFoundation\FileBag::set | ( | $key, | |
| $value | |||
| ) |
{Sets a parameter by name.
| string | $key | The key |
| mixed | $value | The value |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 46 of file vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\FileBag\convertFileInformation().
| Symfony\Component\HttpFoundation\FileBag::set | ( | $key, | |
| $value | |||
| ) |
{Sets a parameter by name.
| string | $key | The key |
| mixed | $value | The value |
Reimplemented from Symfony\Component\HttpFoundation\ParameterBag.
Definition at line 48 of file lib/vendor/symfony/http-foundation/FileBag.php.
References Symfony\Component\HttpFoundation\FileBag\convertFileInformation().