/** * The constructor * * @param string $name The name of the entry in the $_FILES array */ public function __construct($name) { $this->far = $_FILES[$name]; /* * The 'error' sub-array is just used an iteration control and any of the field arrays could be used. */ parent::_construct($_FILES[$name]['error']); }
/** * The constructor * * @param string $name The name of the entry in the $_FILES array */ public function __construct($name) { $this->far = $_FILES[$name]; parent::_construct($_FILES[$name]['error']); }