本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}