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


PHP cssJSToolbox::getSecurityToken方法代码示例

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


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

示例1: display

 /**
  * put your comment there...
  * 
  * @param mixed $tpl
  */
 public function display($tpl = null)
 {
     $this->component = $this->getModel('setup')->getCJTComponentData();
     $this->securityToken = cssJSToolbox::getSecurityToken();
     // Display view.
     echo $this->getTemplate($tpl);
 }
开发者ID:JSreactor,项目名称:MarketCrater.com,代码行数:12,代码来源:view.php

示例2: display

 /**
  * put your comment there...
  * 
  * @param mixed $tpl
  */
 public function display($tpl = null)
 {
     // Initialize.
     $model = $this->getModel('packages');
     // Cache view vars.
     $this->itemsTotal = $model->getItemsTotal();
     $this->itemsPerPage = $model->getItemsPerPage();
     $this->items = $model->getItems();
     $this->securityToken = cssJSToolbox::getSecurityToken();
     // Display view.
     echo $this->getTemplate($tpl);
 }
开发者ID:JSreactor,项目名称:MarketCrater.com,代码行数:17,代码来源:view.php

示例3: display

 /**
  * put your comment there...
  * 
  * @param mixed $tpl
  */
 public function display($tpl = null)
 {
     $model = $this->getModel('installer');
     // Initialize templates vars!
     try {
         $this->installedDbVersion = $model->getInstalledDbVersion();
         $this->installedDbVersionId = $model->getInternalVersionName();
         $this->securityToken = cssJSToolbox::getSecurityToken();
         $this->operations = $model->getOperations();
         $this->upgrade = $model->isUpgrade();
     } catch (Exception $exception) {
         $this->error = $exception;
     }
     // Display view!
     echo $this->getTemplate($tpl);
 }
开发者ID:JSreactor,项目名称:MarketCrater.com,代码行数:21,代码来源:view.php

示例4: display

 /**
  * put your comment there...
  * 
  * @param mixed $tpl
  */
 public function display($tpl = null)
 {
     // Get model object!
     $model = $this->getModel('extensions');
     // Some time we work as aspecific extensions page or geneal Wordpress plugins page!
     $this->securityToken = cssJSToolbox::getSecurityToken();
     $this->listTypeName = $model->getListTypeName();
     $this->extensions = CJTPlugin::getInstance()->extensions();
     if ($this->listTypeName == 'extensions') {
         // Select Extensions menu item instead of Wordpress Plugins item!
         add_filter('parent_file', array(&$this, 'activateExtensionsMenuItem'));
     }
     // Output internal HTML used by JS!
     add_action('admin_footer', array(&$this, 'outputCommonMarkups'));
     // Add SETUP Link inside the Plugins (only CJT extensions) row!
     add_filter('plugin_action_links', array(&$this, 'addExtensionActions'), 10, 2);
 }
开发者ID:JSreactor,项目名称:MarketCrater.com,代码行数:22,代码来源:view.php


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