当前位置: 首页>>代码示例>>PHP>>正文


PHP AbstractForm::readFormParameters方法代码示例

本文整理汇总了PHP中wcf\form\AbstractForm::readFormParameters方法的典型用法代码示例。如果您正苦于以下问题:PHP AbstractForm::readFormParameters方法的具体用法?PHP AbstractForm::readFormParameters怎么用?PHP AbstractForm::readFormParameters使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在wcf\form\AbstractForm的用法示例。


在下文中一共展示了AbstractForm::readFormParameters方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['destinationUserID'])) {
         $this->destinationUserID = intval($_POST['destinationUserID']);
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:UserMergeForm.class.php

示例2: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_FILES['optionImport'])) {
         $this->optionImport = $_FILES['optionImport'];
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:OptionImportForm.class.php

示例3: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['avatarType'])) {
         $this->avatarType = $_POST['avatarType'];
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:AvatarEditForm.class.php

示例4: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_FILES['source'])) {
         $this->source = $_FILES['source'];
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:StyleImportForm.class.php

示例5: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['points']) && is_array($_POST['points'])) {
         $this->points = ArrayUtil::toIntegerArray($_POST['points']);
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:UserActivityPointOptionForm.class.php

示例6: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (!WCF::getUser()->userID && isset($_POST['accept'])) {
         $this->accept = true;
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:DisclaimerForm.class.php

示例7: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['timeframe'])) {
         $this->timeframe = intval($_POST['timeframe']);
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:UserContentRevertChangesForm.class.php

示例8: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['title'])) {
         $this->title = StringUtil::trim($_POST['title']);
     }
 }
开发者ID:joshuaruesweg,项目名称:de.voolia.news,代码行数:10,代码来源:NewsPictureAddForm.class.php

示例9: readFormParameters

	/**
	 * @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'];
	}
开发者ID:0xLeon,项目名称:WCF,代码行数:10,代码来源:PackageUpdateServerAddForm.class.php

示例10: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if ($this->captchaObjectType) {
         $this->captchaObjectType->getProcessor()->readFormParameters();
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:AbstractCaptchaForm.class.php

示例11: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['settings'])) {
         $this->settings = $_POST['settings'];
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:NotificationSettingsForm.class.php

示例12: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['server'])) {
         $this->server = StringUtil::trim($_POST['server']);
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:10,代码来源:LanguageServerAddForm.class.php

示例13: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     $this->optionHandler->readUserInput($_POST);
     if (isset($_POST['applyChangesToExistingUsers'])) {
         $this->applyChangesToExistingUsers = intval($_POST['applyChangesToExistingUsers']);
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:11,代码来源:UserOptionSetDefaultsForm.class.php

示例14: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     I18nHandler::getInstance()->readValues();
     if (isset($_POST['isDisabled'])) {
         $this->isDisabled = 1;
     }
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:11,代码来源:CaptchaQuestionAddForm.class.php

示例15: readFormParameters

 /**
  * @see	\wcf\form\IForm::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_FILES['file'])) {
         $this->file = $_FILES['file'];
     }
     if (isset($_POST['fileLink'])) {
         $this->fileLink = StringUtil::trim($_POST['fileLink']);
     }
 }
开发者ID:knzo,项目名称:Fireball,代码行数:13,代码来源:CMSImportForm.class.php


注:本文中的wcf\form\AbstractForm::readFormParameters方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。