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


PHP RunnerPage::commonAssign方法代码示例

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


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

示例1: commonAssign

 /**
  * Add common assign
  */
 function commonAssign()
 {
     parent::commonAssign();
     if (isMobile()) {
         $this->xt->displayBrickHidden("search_dashboard_m");
     }
     $this->xt->assign("languages_block", true);
 }
开发者ID:sdev1,项目名称:CloudStockEnquiry,代码行数:11,代码来源:dashboardpage.php

示例2: commonAssign

 /**
  * Common assign for diferent mode on list page
  * Branch classes add to this method its individualy code
  */
 function commonAssign()
 {
     parent::commonAssign();
     $this->xt->assign("id", $this->id);
     $this->xt->assignbyref("body", $this->body);
     $this->xt->assign("newrecord_controls_block", $this->permis[$this->tName]['add']);
     $this->xt->assign("record_controls_block", $this->permis[$this->tName]['add'] || $this->isDispGrid());
     //$this->xt->assign("grid_controls", $this->isDispGrid());
     $this->importLinksAttrs();
     $this->xt->assign("changepwd_link", $_SESSION["AccessLevel"] != ACCESS_LEVEL_GUEST && $_SESSION["fromFacebook"] == false);
     $this->xt->assign("changepwdlink_attrs", "href=\"" . GetTableLink("changepwd") . "\" onclick=\"window.location.href='" . GetTableLink("changepwd") . "';return false;\"");
     if ($this->isShowMenu() || $this->isAdminTable()) {
         $this->xt->assign("quickjump_attrs", 'class="' . $this->makeClassName("quickjump") . '"');
     }
     $this->xt->assign("more_list", true);
     foreach ($this->googleMapCfg['mainMapIds'] as $mapId) {
         $this->xt->assign_event($mapId, $this, 'createMapDiv', array('mapId' => $mapId, 'width' => $this->googleMapCfg['mapsData'][$mapId]['width'], 'height' => $this->googleMapCfg['mapsData'][$mapId]['height']));
     }
     //add assign for grid block
     $this->addAssignForGrid();
 }
开发者ID:sdev1,项目名称:CloudStockEnquiry,代码行数:25,代码来源:listpage.php

示例3: commonAssign

 /**
  * Common assign for diferent mode on list page
  * Branch classes add to this method its individualy code
  */
 function commonAssign()
 {
     parent::commonAssign();
     $this->xt->assign("id", $this->id);
     $this->xt->assignbyref("body", $this->body);
     $this->xt->enable_section("style_block");
     $this->xt->enable_section("iestyle_block");
     $this->xt->assign("newrecord_controls_block", $this->permis[$this->tName]['add']);
     $this->xt->assign("record_controls_block", $this->permis[$this->tName]['add'] || $this->isDispGrid());
     //$this->xt->assign("grid_controls", $this->isDispGrid());
     $this->importLinksAttrs();
     $this->xt->assign("changepwd_link", $_SESSION["AccessLevel"] != ACCESS_LEVEL_GUEST);
     $this->xt->assign("changepwdlink_attrs", "href=\"changepwd.php\" onclick=\"window.location.href='changepwd.php';return false;\"");
     if ($this->isShowMenu() || $this->isAdminTable()) {
         $this->xt->assign("quickjump_attrs", 'class="runner-quickjump"');
     }
     if ($this->createLoginPage) {
         $this->xt->assign("security_block", true);
         $this->xt->assign("username", htmlspecialchars($_SESSION["UserName"]));
         $this->xt->assign("logoutlink_attrs", "onclick=\"window.location.href='login.php?a=logout';return false;\"");
         $this->xt->assign("guestloginlink_attrs", "onclick=\"window.location.href='login.php';return false;\"");
         $this->xt->assign("loggedas_message", !isLoggedAsGuest());
         $this->xt->assign("guestloginbutton", isLoggedAsGuest());
         $this->xt->assign("logoutbutton", isSingleSign() && !isLoggedAsGuest());
     }
     foreach ($this->googleMapCfg['mainMapIds'] as $mapId) {
         $this->xt->assign_event($mapId, $this, 'createMapDiv', array('mapId' => $mapId, 'width' => $this->googleMapCfg['mapsData'][$mapId]['width'], 'height' => $this->googleMapCfg['mapsData'][$mapId]['height']));
     }
     //add assign for grid block
     $this->addAssignForGrid();
 }
开发者ID:aagusti,项目名称:padl-tng,代码行数:35,代码来源:listpage.php

示例4: commonAssign

 /**
  * Add common assign
  */
 function commonAssign()
 {
     parent::commonAssign();
     if (isMobile()) {
         $this->xt->displayBrickHidden("search_dashboard_m");
     }
     $this->xt->assign("languages_block", true);
     $this->assignAdmin();
     $this->xt->assign("changepwd_link", $_SESSION["AccessLevel"] != ACCESS_LEVEL_GUEST && $_SESSION["fromFacebook"] == false);
     $this->xt->assign("changepwdlink_attrs", "href=\"" . GetTableLink("changepwd") . "\" onclick=\"window.location.href='" . GetTableLink("changepwd") . "';return false;\"");
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:14,代码来源:dashboardpage.php


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