Beispiel #1
0
 public function __construct()
 {
     parent::__construct(TYPEF_DIR . '/files/public/mailform');
 }
Beispiel #2
0
 /**
  * @param string $name The name of the form field that contains the uploaded image.
  * @param type $directory The directory where the image will be saved.
  */
 public function __construct($name, $directory)
 {
     parent::__construct($directory, 'jpg,jpeg,gif,png');
 }