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