Esempio n. 1
0
File: File.php Progetto: ssrsfs/blg
 public function __construct()
 {
     parent::__construct(TYPEF_DIR . '/files/public/mailform');
 }
Esempio n. 2
0
File: Image.php Progetto: ssrsfs/blg
 /**
  * @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');
 }