MediaWiki
REL1_37
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 Fri Apr 5 2024 23:40:15 for MediaWiki by
1.9.8