/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_POST['className'])) { $this->className = StringUtil::trim($_POST['className']); } if (isset($_POST['description'])) { $this->description = StringUtil::trim($_POST['description']); } if (isset($_POST['startMinute'])) { $this->startMinute = StringUtil::replace(' ', '', $_POST['startMinute']); } if (isset($_POST['startHour'])) { $this->startHour = StringUtil::replace(' ', '', $_POST['startHour']); } if (isset($_POST['startDom'])) { $this->startDom = StringUtil::replace(' ', '', $_POST['startDom']); } if (isset($_POST['startMonth'])) { $this->startMonth = StringUtil::replace(' ', '', $_POST['startMonth']); } if (isset($_POST['startDow'])) { $this->startDow = StringUtil::replace(' ', '', $_POST['startDow']); } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_FILES['optionImport'])) { $this->optionImport = $_FILES['optionImport']; } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_POST['groupIDs']) && is_array($_POST['groupIDs'])) { $this->groupIDs = ArrayUtil::toIntegerArray($_POST['groupIDs']); } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_POST['masterPassword'])) { $this->masterPassword = $_POST['masterPassword']; } if (isset($_POST['url'])) { $this->url = $_POST['url']; } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_POST['fileType']) && $_POST['fileType'] == 'xml') { $this->fileType = $_POST['fileType']; } if (isset($_POST['separator'])) { $this->separator = $_POST['separator']; } if (isset($_POST['textSeparator'])) { $this->textSeparator = $_POST['textSeparator']; } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_POST['serverURL'])) { $this->serverURL = StringUtil::trim($_POST['serverURL']); } if (isset($_POST['loginUsername'])) { $this->loginUsername = $_POST['loginUsername']; } if (isset($_POST['loginPassword'])) { $this->loginPassword = $_POST['loginPassword']; } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_POST['userIDs'])) { $this->userIDs = ArrayUtil::toIntegerArray(explode(',', $_POST['userIDs'])); } if (isset($_POST['groupIDs']) && is_array($_POST['groupIDs'])) { $this->groupIDs = ArrayUtil::toIntegerArray($_POST['groupIDs']); } if (isset($_POST['subject'])) { $this->subject = StringUtil::trim($_POST['subject']); } if (isset($_POST['text'])) { $this->text = StringUtil::trim($_POST['text']); } if (isset($_POST['from'])) { $this->from = StringUtil::trim($_POST['from']); } if (isset($_POST['enableHTML'])) { $this->enableHTML = intval($_POST['enableHTML']); } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); if (isset($_POST['downloadPackage'])) { $this->downloadPackage = StringUtil::trim($_POST['downloadPackage']); } if (isset($_FILES['uploadPackage'])) { $this->uploadPackage = $_FILES['uploadPackage']; } }
/** * @see wcf\form\IForm::readFormParameters() */ public function readFormParameters() { parent::readFormParameters(); $this->ignoreUniques = $this->plugin = $this->isApplication = 0; if (isset($_POST['packageUpdateServerIDs']) && is_array($_POST['packageUpdateServerIDs'])) { $this->packageUpdateServerIDs = ArrayUtil::toIntegerArray($_POST['packageUpdateServerIDs']); } if (isset($_POST['packageName'])) { $this->packageName = StringUtil::trim($_POST['packageName']); } if (isset($_POST['author'])) { $this->author = StringUtil::trim($_POST['author']); } if (isset($_POST['searchDescription'])) { $this->searchDescription = intval($_POST['searchDescription']); } if (isset($_POST['plugin'])) { $this->plugin = intval($_POST['plugin']); } if (isset($_POST['isApplication'])) { $this->isApplication = intval($_POST['isApplication']); } if (isset($_POST['other'])) { $this->other = intval($_POST['other']); } if (isset($_POST['ignoreUniques'])) { $this->ignoreUniques = intval($_POST['ignoreUniques']); } }