本文整理汇总了PHP中wcf\form\AbstractForm::assignVariables方法的典型用法代码示例。如果您正苦于以下问题:PHP AbstractForm::assignVariables方法的具体用法?PHP AbstractForm::assignVariables怎么用?PHP AbstractForm::assignVariables使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类wcf\form\AbstractForm
的用法示例。
在下文中一共展示了AbstractForm::assignVariables方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: assignVariables
/**
* @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
WCF::getTPL()->assign(array(
'server' => $this->server,
'action' => 'add'
));
}
示例2: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
I18nHandler::getInstance()->assignVariables();
WCF::getTPL()->assign(array('action' => 'add', 'availableCssClassNames' => $this->availableCssClassNames, 'cssClassName' => $this->cssClassName, 'customCssClassName' => $this->customCssClassName, 'groupID' => $this->groupID, 'label' => $this->label, 'labelGroupList' => $this->labelGroupList));
}
示例3: assignVariables
/**
* @see wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
I18nHandler::getInstance()->assignVariables();
if (WCF::getSession()->getPermission('admin.project.canEditPermissions')) {
ACLHandler::getInstance()->assignVariables($this->objectTypeID);
}
WCF::getTPL()->assign(array('action' => 'add', 'title' => $this->title, 'subTitle' => $this->subTitle, 'description' => $this->description, 'descriptionUseHtml' => $this->descriptionUseHtml, 'position' => $this->position, 'isInvisible' => $this->isInvisible, 'isClosed' => $this->isClosed, 'issuesPerPage' => $this->issuesPerPage, 'commentsPerPage' => $this->commentsPerPage, 'styleID' => $this->styleID, 'availableStyles' => $this->availableStyles, 'objectTypeID' => $this->objectTypeID));
}
示例4: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('exporter' => $this->exporter, 'importers' => $this->importers, 'exporterName' => $this->exporterName, 'availableExporters' => $this->exporters, 'supportedData' => $this->supportedData, 'selectedData' => $this->selectedData, 'dbHost' => $this->dbHost, 'dbUser' => $this->dbUser, 'dbPassword' => $this->dbPassword, 'dbName' => $this->dbName, 'dbPrefix' => $this->dbPrefix, 'fileSystemPath' => $this->fileSystemPath, 'userMergeMode' => $this->userMergeMode, 'showInnoDBWarning' => $this->showInnoDBWarning, 'showMappingNotice' => $this->showMappingNotice, 'additionalData' => $this->additionalData));
}
示例5: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
I18nHandler::getInstance()->assignVariables();
if ($this->objectType->objectType == 'de.codequake.cms.content.type.poll') {
PollManager::getInstance()->assignVariables();
}
WCF::getTPL()->assign(array('action' => 'add', 'contentData' => $this->contentData, 'contentList' => $this->contentList, 'cssClasses' => $this->cssClasses, 'objectType' => $this->objectType, 'pageID' => $this->pageID, 'pageList' => $this->pageList, 'parentID' => $this->parentID, 'position' => $this->position, 'showOrder' => $this->showOrder));
}
示例6: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('defaultLanguageID' => LanguageFactory::getInstance()->getDefaultLanguageID(), 'enable' => $this->enable, 'languageIDs' => $this->languageIDs, 'languages' => $this->languages));
}
示例7: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('action' => 'add', 'ad' => $this->ad, 'adName' => $this->adName, 'locationObjectTypes' => $this->locationObjectTypes, 'locations' => $this->locations, 'isDisabled' => $this->isDisabled, 'groupedConditionObjectTypes' => $this->groupedConditionObjectTypes, 'objectTypeID' => $this->objectTypeID, 'showOrder' => $this->showOrder));
}
示例8: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('password' => $this->password, 'email' => $this->email, 'confirmEmail' => $this->confirmEmail, 'newPassword' => $this->newPassword, 'confirmNewPassword' => $this->confirmNewPassword, 'username' => $this->username, 'renamePeriod' => WCF::getSession()->getPermission('user.profile.renamePeriod'), 'quitStarted' => $this->quitStarted, 'quit' => $this->quit, 'cancelQuit' => $this->cancelQuit, 'githubConnect' => $this->githubConnect, 'githubDisconnect' => $this->githubDisconnect, 'twitterConnect' => $this->twitterConnect, 'twitterDisconnect' => $this->twitterDisconnect, 'facebookConnect' => $this->facebookConnect, 'facebookDisconnect' => $this->facebookDisconnect, 'googleConnect' => $this->googleConnect, 'googleDisconnect' => $this->googleDisconnect));
}
示例9: assignVariables
/**
* @see wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('user' => $this->user, 'sum' => $this->sum, 'reason' => $this->reason, 'success' => $this->success, 'isModerativ' => $this->isModerativ));
}
示例10: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('serverURL' => $this->serverURL, 'loginUsername' => $this->loginUsername, 'loginPassword' => $this->loginPassword, 'action' => 'add'));
}
示例11: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('action' => 'add', 'title' => $this->title, 'less' => $this->less));
}
示例12: assignVariables
/**
* @see wcf\page\IPage::assignVariables()
*/
public function assignVariables() {
parent::assignVariables();
WCF::getTPL()->assign(array(
'packageID' => $this->packageID,
'package' => $this->package
));
}
示例13: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('users' => $this->users, 'userIDs' => $this->userIDs, 'timeframe' => $this->timeframe));
}
示例14: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
WCF::getTPL()->assign(array('action' => 'add', 'title' => $this->title, 'categoryID' => $this->categoryID, 'categoryList' => $this->categoryList, 'pictureID' => $this->pictureID, 'picture' => $this->picture));
}
示例15: assignVariables
/**
* @see \wcf\page\IPage::assignVariables()
*/
public function assignVariables()
{
parent::assignVariables();
if (!RECAPTCHA_PUBLICKEY || !RECAPTCHA_PRIVATEKEY) {
// V1
RecaptchaHandler::getInstance()->assignVariables();
} else {
// V2
WCF::getTPL()->assign(array('recaptchaLegacyMode' => true));
}
WCF::getTPL()->assign(array('useCaptcha' => $this->useCaptcha));
}