本文整理汇总了PHP中hwdMediaShareHelperRoute::getSelfRoute方法的典型用法代码示例。如果您正苦于以下问题:PHP hwdMediaShareHelperRoute::getSelfRoute方法的具体用法?PHP hwdMediaShareHelperRoute::getSelfRoute怎么用?PHP hwdMediaShareHelperRoute::getSelfRoute使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类hwdMediaShareHelperRoute
的用法示例。
在下文中一共展示了hwdMediaShareHelperRoute::getSelfRoute方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlspecialchars
<form action="<?php
echo htmlspecialchars(JFactory::getURI()->toString());
?>
" method="post" name="adminForm" id="adminForm">
<div id="hwd-container"> <a name="top" id="top"></a>
<!-- Media Header -->
<div class="media-header">
<h2 class="media-media-title"><?php
echo JText::sprintf('COM_HWDMS_USERXS_FAVOURITES', $this->escape($this->channel->title));
?>
</h2>
<!-- View Type -->
<div class="pull-right btn-group">
<a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('details'));
?>
" class="btn" title="<?php
echo JText::_('COM_HWDMS_DETAILS');
?>
"><i class="icon-file"></i> <?php
echo JText::_('COM_HWDMS_DETAILS');
?>
</a>
<a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getMediaRoute('gallery'));
?>
" class="btn" title="<?php
echo JText::_('COM_HWDMS_GALLERY');
?>
"><i class="icon-th"></i> <?php
示例2:
?>
</h2>
<!-- View Type -->
<ul class="media-category-ls">
<li><a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('details'));
?>
" class="ls-detail" title="<?php
echo JText::_('COM_HWDMS_DETAILS');
?>
"><?php
echo JText::_('COM_HWDMS_DETAILS');
?>
</a></li>
<li><a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('list'));
?>
" class="ls-list" title="<?php
echo JText::_('COM_HWDMS_LIST');
?>
"><?php
echo JText::_('COM_HWDMS_LIST');
?>
</a></li>
<?php
if ($canAdd) {
?>
<li><a href="<?php
echo JRoute::_('index.php?option=com_hwdmediashare&view=groupform&layout=edit&return=' . base64_encode(JFactory::getURI()));
?>
" class="ls-add" title="Add Group">Add Group</a> </li>
示例3:
echo hwdMediaShareHelperNavigation::getInternalNavigation();
?>
<!-- Media Header -->
<div class="media-header">
<div class="pull-right btn-group"> <a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('details'));
?>
" class="btn" title="<?php
echo JText::_('COM_HWDMS_DETAILS');
?>
"><i class="icon-file"></i> <?php
echo JText::_('COM_HWDMS_DETAILS');
?>
</a> <a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getSelfRoute('tree'));
?>
" class="btn" title="<?php
echo JText::_('COM_HWDMS_TREE');
?>
"><i class="icon-th-list"></i> <?php
echo JText::_('COM_HWDMS_TREE');
?>
</a> </div>
<div class="page-header">
<h2><?php
echo JText::_('COM_HWDMS_CATEGORIES');
?>
</h2>
</div>
<div class="clear"></div>