本文整理汇总了PHP中JUDirectoryHelper::getMenu方法的典型用法代码示例。如果您正苦于以下问题:PHP JUDirectoryHelper::getMenu方法的具体用法?PHP JUDirectoryHelper::getMenu怎么用?PHP JUDirectoryHelper::getMenu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JUDirectoryHelper
的用法示例。
在下文中一共展示了JUDirectoryHelper::getMenu方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: strtolower
$userId = $user->get('id');
$app = JFactory::getApplication();
$listing_id = $app->input->get("listing_id", "");
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$sortFields = $this->getSortFields();
$ordering = $listOrder == 'cm.lft';
$saveOrder = $listOrder == 'cm.lft' && strtolower($listDirn) == 'asc';
if ($saveOrder) {
$saveOrderingUrl = 'index.php?option=com_judirectory&task=comments.saveOrderAjax&tmpl=component';
JHtml::_('sortablelist.sortable', 'data-list', 'adminForm', strtolower($listDirn), $saveOrderingUrl, false, true);
}
?>
<?php
echo JUDirectoryHelper::getMenu($app->input->get('view'));
?>
<div id="iframe-help"></div>
<form
action="<?php
echo JRoute::_('index.php?option=com_judirectory&view=comments');
?>
"
method="post" name="adminForm" id="adminForm">
<div id="j-main-container" class="span12">
<?php
echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this, 'options' => array("filterButton" => false)));
?>
<?php
示例2: defined
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author JoomUltra Co., Ltd
* @website http://www.joomultra.com
* @----------------------------------------------------------------------@
*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
JHtml::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_judirectory/helpers/html');
JHtml::_('bootstrap.tooltip');
JHtml::_('behavior.multiselect');
JHtml::_('formbehavior.chosen', 'select');
$user = JFactory::getUser();
$userId = $user->get('id');
$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
echo JUDirectoryHelper::getMenu(JFactory::getApplication()->input->get('view'));
?>
<div id="iframe-help"></div>
<form
action="<?php
echo JRoute::_('index.php?option=com_judirectory&view=styles');
?>
"
method="post" name="adminForm" id="adminForm">
<div id="j-main-container" class="span12">
<?php
echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this));
示例3:
echo JText::_("COM_JUDIRECTORY_WARNING_WHEN_DELETE_LISTINGS");
?>
');
if (r == false) {
return false;
}
}
Joomla.submitform(pressbutton);
};
</script>
<div class="jubootstrap">
<?php
echo JUDirectoryHelper::getMenu('manager-listcat');
?>
<div id="iframe-help"></div>
<div id="splitterContainer">
<div id="leftPane">
<div class="inner-pane">
<?php
echo $this->loadTemplate('left');
?>
</div>
</div>
<div id="rightPane">
<div class="list-item">