本文整理汇总了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']);
}
}
示例2: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (isset($_FILES['optionImport'])) {
$this->optionImport = $_FILES['optionImport'];
}
}
示例3: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (isset($_POST['avatarType'])) {
$this->avatarType = $_POST['avatarType'];
}
}
示例4: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (isset($_FILES['source'])) {
$this->source = $_FILES['source'];
}
}
示例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']);
}
}
示例6: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (!WCF::getUser()->userID && isset($_POST['accept'])) {
$this->accept = true;
}
}
示例7: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (isset($_POST['timeframe'])) {
$this->timeframe = intval($_POST['timeframe']);
}
}
示例8: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (isset($_POST['title'])) {
$this->title = StringUtil::trim($_POST['title']);
}
}
示例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'];
}
示例10: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if ($this->captchaObjectType) {
$this->captchaObjectType->getProcessor()->readFormParameters();
}
}
示例11: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (isset($_POST['settings'])) {
$this->settings = $_POST['settings'];
}
}
示例12: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
if (isset($_POST['server'])) {
$this->server = StringUtil::trim($_POST['server']);
}
}
示例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']);
}
}
示例14: readFormParameters
/**
* @see \wcf\form\IForm::readFormParameters()
*/
public function readFormParameters()
{
parent::readFormParameters();
I18nHandler::getInstance()->readValues();
if (isset($_POST['isDisabled'])) {
$this->isDisabled = 1;
}
}
示例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']);
}
}