コード例 #1
0
ファイル: file_drop.php プロジェクト: xdissent/phorms
 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);
 }
コード例 #2
0
ファイル: phorms.php プロジェクト: bistory/phorms-ext
 public function __construct($method = Phorm::GET, $multi_part = false, $data = array())
 {
     parent::__construct($method, $multi_part, $data);
     $this->define_fieldsets();
 }
コード例 #3
0
ファイル: phorms_ext.php プロジェクト: bistory/phorms-ext
 public function __construct($method = Phorm::GET, $multi_part = false, $data = array())
 {
     parent::__construct($method, $multi_part, $data);
 }