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


PHP AbstractForm::assignVariables方法代码示例

本文整理汇总了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'
		));
	}
开发者ID:0xLeon,项目名称:WCF,代码行数:11,代码来源:LanguageServerAddForm.class.php

示例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));
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:9,代码来源:LabelAddForm.class.php

示例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));
 }
开发者ID:RouL,项目名称:Icy-Tracker,代码行数:12,代码来源:ProjectAddForm.class.php

示例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));
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:8,代码来源:DataImportForm.class.php

示例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));
 }
开发者ID:knzo,项目名称:Fireball,代码行数:12,代码来源:ContentAddForm.class.php

示例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));
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:8,代码来源:LanguageMultilingualismForm.class.php

示例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));
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:8,代码来源:AdAddForm.class.php

示例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));
 }
开发者ID:jacboy,项目名称:WCF,代码行数:8,代码来源:AccountManagementForm.class.php

示例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));
 }
开发者ID:jacboy,项目名称:JCoins,代码行数:8,代码来源:JCoinsTransferForm.class.php

示例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'));
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:8,代码来源:PackageUpdateServerAddForm.class.php

示例11: assignVariables

 /**
  * @see	\wcf\page\IPage::assignVariables()
  */
 public function assignVariables()
 {
     parent::assignVariables();
     WCF::getTPL()->assign(array('action' => 'add', 'title' => $this->title, 'less' => $this->less));
 }
开发者ID:knzo,项目名称:Fireball,代码行数:8,代码来源:StylesheetAddForm.class.php

示例12: assignVariables

	/**
	 * @see	wcf\page\IPage::assignVariables()
	 */
	public function assignVariables() {
		parent::assignVariables();
		
		WCF::getTPL()->assign(array(
			'packageID' => $this->packageID,
			'package' => $this->package
		));
	}
开发者ID:0xLeon,项目名称:WCF,代码行数:11,代码来源:PackageStartInstallForm.class.php

示例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));
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:8,代码来源:UserContentRevertChangesForm.class.php

示例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));
 }
开发者ID:joshuaruesweg,项目名称:de.voolia.news,代码行数:8,代码来源:NewsPictureAddForm.class.php

示例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));
 }
开发者ID:nick-strohm,项目名称:WCF,代码行数:15,代码来源:RecaptchaForm.class.php


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