/**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     $this->optionHandler->readUserInput($_POST);
     if (isset($_POST['applyChangesToExistingUsers'])) {
         $this->applyChangesToExistingUsers = intval($_POST['applyChangesToExistingUsers']);
     }
 }
예제 #2
0
 /**
  * @see	\wcf\form\AbstractForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     $this->optionHandler->readUserInput($_POST);
     // static options
     if ($this->category == 'general') {
         if (isset($_POST['contentLanguageIDs']) && is_array($_POST['contentLanguageIDs'])) {
             $this->contentLanguageIDs = ArrayUtil::toIntegerArray($_POST['contentLanguageIDs']);
         }
         if (isset($_POST['languageID'])) {
             $this->languageID = intval($_POST['languageID']);
         }
         if (isset($_POST['styleID'])) {
             $this->styleID = intval($_POST['styleID']);
         }
     }
 }
 /**
  * @see	\wcf\system\condition\ICondition::readFormParameters()
  */
 public function readFormParameters()
 {
     $this->optionHandler->readUserInput($_POST);
 }