Function __global->is_plupload
Definitions
sources/uploads.php
- Find whether an plupload upload has just happened, and optionally simulate as if it were a normal upload (although 'is_uploaded_file'/'move_uploaded_file' would not work).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $fake_prepopulation | boolean | No | No | False | N/A | N/A | Simulate population of the $_FILES array |
Returns
- Whether an plupload upload has just happened
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether an plupload upload has just happened, and optionally simulate as if it were a normal upload (although 'is_uploaded_file'/'move_uploaded_file' would not work).
*
* @param boolean $fake_prepopulation Simulate population of the $_FILES array
* @return boolean Whether an plupload upload has just happened
*/
function is_plupload(bool $fake_prepopulation = false) : bool
* Find whether an plupload upload has just happened, and optionally simulate as if it were a normal upload (although 'is_uploaded_file'/'move_uploaded_file' would not work).
*
* @param boolean $fake_prepopulation Simulate population of the $_FILES array
* @return boolean Whether an plupload upload has just happened
*/
function is_plupload(bool $fake_prepopulation = false) : bool
