Exemple #1
0
 public function __construct($target_directory, $method = Phorm::GET, $multi_part = false, $data = array())
 {
     if (!file_exists($target_directory)) {
         trigger_error('invalid directory', E_USER_ERROR);
     }
     if (!is_writable($target_directory)) {
         trigger_error('no permissions to target directory', E_USER_ERROR);
     }
     $this->path = $target_directory;
     parent::__construct($method, $multi_part, $data);
 }
Exemple #2
0
 public function __construct($method = Phorm::GET, $multi_part = false, $data = array())
 {
     parent::__construct($method, $multi_part, $data);
     $this->define_fieldsets();
 }
Exemple #3
0
 public function __construct($method = Phorm::GET, $multi_part = false, $data = array())
 {
     parent::__construct($method, $multi_part, $data);
 }