本文整理汇总了PHP中hwdMediaShareHelperRoute::getMediaRoute方法的典型用法代码示例。如果您正苦于以下问题:PHP hwdMediaShareHelperRoute::getMediaRoute方法的具体用法?PHP hwdMediaShareHelperRoute::getMediaRoute怎么用?PHP hwdMediaShareHelperRoute::getMediaRoute使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类hwdMediaShareHelperRoute
的用法示例。
在下文中一共展示了hwdMediaShareHelperRoute::getMediaRoute方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo JText::_('COM_HWDMS_DETAILS');
?>
"> <i class="icon-file"></i> <?php
echo JText::_('COM_HWDMS_DETAILS');
?>
</a> <a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getMediaRoute(array('display' => 'gallery')));
?>
" class="btn" title="<?php
echo JText::_('COM_HWDMS_GALLERY');
?>
"> <i class="icon-th"></i> <?php
echo JText::_('COM_HWDMS_GALLERY');
?>
</a> <a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getMediaRoute(array('display' => 'list')));
?>
" class="btn" title="<?php
echo JText::_('COM_HWDMS_LIST');
?>
"> <i class="icon-list"></i> <?php
echo JText::_('COM_HWDMS_LIST');
?>
</a> </div>
<div class="page-header">
<h2><?php
echo JText::_('COM_HWDMS_MEDIA');
?>
</h2>
</div>
<div class="clear"></div>
示例2:
"><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
echo JText::_('COM_HWDMS_GALLERY');
?>
</a>
<a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getMediaRoute('list'));
?>
" class="btn" title="<?php
echo JText::_('COM_HWDMS_LIST');
?>
"><i class="icon-list"></i> <?php
echo JText::_('COM_HWDMS_LIST');
?>
</a>
</div>
<div class="clear"></div>
<!-- Search Filters -->
<fieldset class="filters">
<?php
if ($this->params->get('global_list_filter_search') != 'hide') {
?>
示例3: foreach
<div class="clear"></div>
<?php
}
?>
<?php
if ($this->params->get('mediaitem_tags_tab') != 'hide' && !empty($this->item->tags)) {
?>
<?php
echo JHtml::_('tabs.panel', JText::_('COM_HWDMS_TAGS'), 'tags');
?>
<ul class="media-tags">
<?php
foreach ($this->item->tags as $id => &$tag) {
?>
<li><a href="<?php
echo JRoute::_(hwdMediaShareHelperRoute::getMediaRoute(array('filter_tag' => $tag->tag)));
?>
"><?php
echo $this->escape($tag->tag);
?>
</a></li>
<?php
}
?>
</ul>
<div class="clear"></div>
<?php
}
?>
<?php