MediaWiki
REL1_39
FauxRequestUpload.php
Go to the documentation of this file.
1
<?php
29
class
FauxRequestUpload
extends
WebRequestUpload
{
30
39
public
function
__construct
( $data,
$request
, $key ) {
40
$this->request =
$request
;
41
$this->doesExist = isset( $data[$key] );
42
if
( $this->doesExist ) {
43
$this->fileInfo = $data[$key];
44
}
45
}
46
47
}
FauxRequestUpload
Object to fake the $_FILES array.
Definition
FauxRequestUpload.php:29
FauxRequestUpload\__construct
__construct( $data, $request, $key)
Constructor.
Definition
FauxRequestUpload.php:39
WebRequestUpload
Object to access the $_FILES array.
Definition
WebRequestUpload.php:33
WebRequestUpload\$request
WebRequest $request
Definition
WebRequestUpload.php:37
includes
FauxRequestUpload.php
Generated on Mon Dec 2 2024 06:23:05 for MediaWiki by
1.10.0