本文整理匯總了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