/**
  *  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']);
 }
Beispiel #2
0
 /**
  *  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']);
 }