本文整理汇总了PHP中addSubmenu函数的典型用法代码示例。如果您正苦于以下问题:PHP addSubmenu函数的具体用法?PHP addSubmenu怎么用?PHP addSubmenu使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了addSubmenu函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
function __construct($config = array())
{
parent::__construct($config);
$this->registerTask('add', 'edit');
checkAccessController("orders");
addSubmenu("orders");
}
示例2: __construct
function __construct($config = array())
{
parent::__construct($config);
$this->registerTask('add', 'edit');
$this->registerTask('apply', 'save');
checkAccessController("licensekeyaddon");
addSubmenu("other");
}
示例3: display
function display($cachable = false, $urlparams = false)
{
checkAccessController("panel");
addSubmenu("");
$view = $this->getView("panel", 'html');
$view->setLayout("home");
$view->displayHome();
}
示例4: __construct
function __construct($config = array())
{
parent::__construct($config);
$this->registerTask('add', 'edit');
checkAccessController("orders");
addSubmenu("orders");
JPluginHelper::importPlugin('jshoppingorder');
}
示例5: __construct
function __construct($config = array())
{
$mainframe = JFactory::getApplication();
parent::__construct($config);
checkAccessController("update");
addSubmenu("update");
$language = JFactory::getLanguage();
$language->load('com_installer');
}
示例6: __construct
function __construct($config = array())
{
parent::__construct($config);
$this->registerTask('apply', 'save');
$this->registerTask('applyseo', 'saveseo');
$this->registerTask('applystatictext', 'savestatictext');
checkAccessController("config");
addSubmenu("config");
}
示例7: __construct
function __construct($config = array())
{
parent::__construct($config);
$this->registerTask('orderup', 'reorder');
$this->registerTask('orderdown', 'reorder');
$this->registerTask('publish', 'republish');
$this->registerTask('unpublish', 'republish');
checkAccessController("shippingextprice");
addSubmenu("other");
}
示例8: display
function display($cachable = false, $urlparams = false)
{
checkAccessController("panel");
addSubmenu("");
$view = $this->getView("panel", 'html');
$view->setLayout("home");
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onBeforeDisplayHomePanel', array(&$view));
$view->displayHome();
}
示例9: display
function display($cachable = false, $urlparams = false)
{
checkAccessController("other");
addSubmenu("other");
$view = $this->getView("panel", 'html');
$view->setLayout("options");
$view->sidebar = JHtmlSidebar::render();
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onBeforeDisplayOptionsPanel', array(&$view));
$view->displayOptions();
}
示例10: display
function display($cachable = false, $urlparams = false)
{
checkAccessController("info");
addSubmenu("info");
$jshopConfig = JSFactory::getConfig();
$data = JApplicationHelper::parseXMLInstallFile($jshopConfig->admin_path . "jshopping.xml");
if ($jshopConfig->display_updates_version) {
$update_model = JSFactory::getModel("info");
$update = $update_model->getUpdateObj($data['version'], $jshopConfig);
} else {
$update = new stdClass();
}
$view = $this->getView("panel", 'html');
$view->setLayout("info");
$view->assign("data", $data);
$view->assign("update", $update);
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onBeforeDisplayInfo', array(&$view));
$view->displayInfo();
}
示例11: __construct
function __construct( $config = array() ){
parent::__construct( $config );
addSubmenu("orders");
}
示例12: __construct
function __construct($config = array())
{
JSFactory::loadExtLanguageFile('resize');
parent::__construct($config);
addSubmenu("other");
}
示例13: __construct
function __construct($config = array())
{
parent::__construct($config);
checkAccessController("importexport");
addSubmenu("other");
}
示例14: __construct
function __construct($config = array())
{
parent::__construct($config);
addSubmenu("other");
checkAccessController("statistic");
}