コード例 #1
0
 /**
  * @see Form::save()
  */
 public function save()
 {
     parent::save();
     // save server
     $this->packageUpdateServerID = UpdateServerEditor::create($this->server, $this->htUsername, $this->htPassword);
     $this->saved();
     // reset values
     $this->server = $this->htUsername = $this->htPassword = '';
     // show success message
     WCF::getTPL()->assign('success', true);
 }