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


PHP AbstractForm::readFormParameters方法代码示例

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


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

示例1: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['usernames'])) {
         $this->usernames = StringUtil::trim($_POST['usernames']);
     }
 }
开发者ID:joaocustodio,项目名称:EmuDevstore-1,代码行数:10,代码来源:UserGroupAdministrateForm.class.php

示例2: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['unignoredBoardIDArray']) && is_array($_POST['unignoredBoardIDArray'])) {
         $this->unignoredBoardIDArray = ArrayUtil::toIntegerArray($_POST['unignoredBoardIDArray']);
     }
 }
开发者ID:joaocustodio,项目名称:EmuDevstore-1,代码行数:10,代码来源:BoardIgnoreForm.class.php

示例3: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['values']) && is_array($_POST['values'])) {
         $this->values = $_POST['values'];
     }
 }
开发者ID:CaribeSoy,项目名称:contest-wcf,代码行数:10,代码来源:DynamicOptionListForm.class.php

示例4: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['applicationText'])) {
         $this->applicationText = StringUtil::trim($_POST['applicationText']);
     }
 }
开发者ID:sonicmaster,项目名称:RPG,代码行数:10,代码来源:AllianceApplyForm.class.php

示例5: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     foreach ($this->oventTypes as $oventTypeID => $oventTypeData) {
         if (isset($_POST['hideOventType' . $oventTypeID]) && $_POST['hideOventType' . $oventTypeID] == 'on') {
             $this->hideOventTypes[$oventTypeID] = true;
         } else {
             $this->hideOventTypes[$oventTypeID] = false;
         }
     }
     if (isset($_POST['dontAskOnHiding']) && $_POST['dontAskOnHiding'] == 'on') {
         $this->dontAskOnHiding = true;
     } else {
         $this->dontAskOnHiding = false;
     }
     if (isset($_POST['hideInformation']) && $_POST['hideInformation'] == 'on') {
         $this->hideInformation = true;
     } else {
         $this->hideInformation = false;
     }
     if (isset($_POST['hideColonies']) && $_POST['hideColonies'] == 'on') {
         $this->hideColonies = true;
     } else {
         $this->hideColonies = false;
     }
 }
开发者ID:sonicmaster,项目名称:RPG,代码行数:29,代码来源:OverviewOptionsForm.class.php

示例6: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['shipData'])) {
         $this->shipDataStr = StringUtil::trim($_POST['shipData']);
         $this->shipDataArray = (array) LWUtil::unserialize($this->shipDataStr);
     }
 }
开发者ID:sonicmaster,项目名称:RPG,代码行数:11,代码来源:SimulatorForm.class.php

示例7: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['username'])) {
         $this->username = StringUtil::trim($_POST['username']);
     }
     if (isset($_POST['password'])) {
         $this->password = $_POST['password'];
     }
 }
开发者ID:CaribeSoy,项目名称:contest-wcf,代码行数:13,代码来源:LoginForm.class.php

示例8: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['reason'])) {
         $this->reason = StringUtil::trim($_POST['reason']);
     }
     if (isset($_POST['enableNotification'])) {
         $this->enableNotification = intval($_POST['enableNotification']);
     }
 }
开发者ID:joaocustodio,项目名称:EmuDevstore-1,代码行数:13,代码来源:UserGroupApplyForm.class.php

示例9: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['agreed'])) {
         $this->agreed = (bool) $_POST['agreed'];
     }
     if (isset($_POST['answerText'])) {
         $this->answerText = StringUtil::trim($_POST['answerText']);
     }
 }
开发者ID:sonicmaster,项目名称:RPG,代码行数:13,代码来源:AllianceApplicationViewForm.class.php

示例10: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     AbstractForm::readFormParameters();
     if (isset($_POST['reply'])) {
         $this->reply = StringUtil::trim($_POST['reply']);
     }
     if (isset($_POST['applicationStatus'])) {
         $this->applicationStatus = intval($_POST['applicationStatus']);
     }
 }
开发者ID:joaocustodio,项目名称:EmuDevstore-1,代码行数:13,代码来源:UserGroupLeaderApplicationEditForm.class.php

示例11: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['email'])) {
         $this->email = StringUtil::trim($_POST['email']);
     }
     if (isset($_POST['checkbox'])) {
         $this->checkbox = (bool) intval($_POST['checkbox']);
     }
 }
开发者ID:CaribeSoy,项目名称:Newsletter-System,代码行数:13,代码来源:NewsletterRegisterGuestForm.class.php

示例12: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['allianceName'])) {
         $this->allianceName = StringUtil::trim($_POST['allianceName']);
     }
     if (isset($_POST['allianceTag'])) {
         $this->allianceTag = StringUtil::trim($_POST['allianceTag']);
     }
 }
开发者ID:sonicmaster,项目名称:RPG,代码行数:13,代码来源:AllianceCreateForm.class.php

示例13: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['captchaID'])) {
         $this->captchaID = intval($_POST['captchaID']);
     }
     if (isset($_POST['captchaString'])) {
         $this->captchaString = StringUtil::trim($_POST['captchaString']);
     }
 }
开发者ID:joaocustodio,项目名称:EmuDevstore-1,代码行数:13,代码来源:CaptchaForm.class.php

示例14: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['fromYear'])) {
         $this->fromYear = intval($_POST['fromYear']);
     }
     if (isset($_POST['toYear'])) {
         $this->toYear = intval($_POST['toYear']);
     }
     if (isset($_POST['country'])) {
         $this->country = $_POST['country'];
     }
 }
开发者ID:Maggan22,项目名称:wbb3addons,代码行数:16,代码来源:IcsHolidayExporterForm.class.php

示例15: readFormParameters

 /**
  * @see Form::readFormParameters()
  */
 public function readFormParameters()
 {
     parent::readFormParameters();
     if (isset($_POST['username'])) {
         $this->username = StringUtil::trim($_POST['username']);
     }
     if (isset($_POST['subject'])) {
         $this->subject = StringUtil::trim($_POST['subject']);
     }
     if (isset($_POST['text'])) {
         $this->text = StringUtil::trim($_POST['text']);
     }
 }
开发者ID:Biggerskimo,项目名称:WOT-Game,代码行数:16,代码来源:MessageUserForm.class.php


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