MediaWiki REL1_39
FauxRequestUpload.php
Go to the documentation of this file.
1<?php
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}
Object to fake the $_FILES array.
__construct( $data, $request, $key)
Constructor.
Object to access the $_FILES array.