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


PHP JUDirectoryHelper::getMenu方法代码示例

本文整理汇总了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 
开发者ID:ranrolls,项目名称:ras-full-portal,代码行数:31,代码来源:default.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));
开发者ID:ranrolls,项目名称:ras-full-portal,代码行数:31,代码来源:default.php

示例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">
开发者ID:ranrolls,项目名称:ras-full-portal,代码行数:31,代码来源:default.php


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