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


PHP hwdMediaShareHelperRoute::getUserRoute方法代码示例

本文整理汇总了PHP中hwdMediaShareHelperRoute::getUserRoute方法的典型用法代码示例。如果您正苦于以下问题:PHP hwdMediaShareHelperRoute::getUserRoute方法的具体用法?PHP hwdMediaShareHelperRoute::getUserRoute怎么用?PHP hwdMediaShareHelperRoute::getUserRoute使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在hwdMediaShareHelperRoute的用法示例。


在下文中一共展示了hwdMediaShareHelperRoute::getUserRoute方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

    if ($this->params->get('global_list_meta_thumbnail') != 'hide') {
        ?>
          <div class="media-item-format-<?php 
        echo $this->elementType;
        ?>
">
             <img src="<?php 
        echo JHtml::_('hwdicon.overlay', $this->elementType, $item);
        ?>
" alt="<?php 
        echo $this->elementName;
        ?>
" />
          </div>
          <a href="<?php 
        echo JRoute::_(hwdMediaShareHelperRoute::getUserRoute($item->slug));
        ?>
">
             <img src="<?php 
        echo JRoute::_(hwdMediaShareDownloads::thumbnail($item, $this->elementType));
        ?>
" border="0" alt="<?php 
        echo $this->escape($item->title);
        ?>
" style="max-width:100%;" />
          </a>
          <?php 
    }
    ?>
        </div>
        <!-- Clears Item and Information -->
开发者ID:gagnonjeanfrancois,项目名称:Projectfork,代码行数:31,代码来源:default_members.php

示例2: getLink

 public function getLink()
 {
     return JRoute::_(hwdMediaShareHelperRoute::getUserRoute($this->profile->id));
 }
开发者ID:BetterBetterBetter,项目名称:B3App,代码行数:4,代码来源:profileVendors.php

示例3: echo

				</div>
				<div class="span3">
					<ul class="unstyled">
						<li class="article-info-term"><?php 
echo JText::_('COM_HWDMS_DETAILS');
?>
 </li>
						<li class="media-info-count"> <?php 
echo JText::_('COM_HWDMS_MEDIA');
?>
 (<?php 
echo (int) $this->album->nummedia;
?>
)</li>
						<li class="media-info-createdby"> <?php 
echo JText::sprintf('COM_HWDMS_CREATED_BY', '<a href="' . JRoute::_(hwdMediaShareHelperRoute::getUserRoute($this->album->created_user_id)) . '">' . htmlspecialchars($this->album->author, ENT_COMPAT, 'UTF-8') . '</a>');
?>
</li>
						<li class="media-info-created"> <?php 
echo JText::sprintf('COM_HWDMS_CREATED_ON', JHtml::_('date', $this->album->created, $this->params->get('global_list_date_format')));
?>
</li>
						<li class="media-info-hits"> <?php 
echo JText::_('COM_HWDMS_VIEWS');
?>
 (<?php 
echo (int) $this->album->hits;
?>
)</li>
						<li class="media-info-like"> <a href="<?php 
echo JRoute::_('index.php?option=com_hwdmediashare&task=album.like&id=' . $this->album->id . '&return=' . $this->return . '&tmpl=component');
开发者ID:greyhat777,项目名称:vuslinterliga,代码行数:31,代码来源:default.php

示例4: echo

    ?>
        <?php 
    if ($this->params->get('global_list_meta_created') != 'hide') {
        ?>
          <td class="list-date"><?php 
        echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC2'));
        ?>
</td>
        <?php 
    }
    ?>
        <?php 
    if ($this->params->get('global_list_meta_author') != 'hide') {
        ?>
          <td class="list-author"><a href="<?php 
        echo JRoute::_(hwdMediaShareHelperRoute::getUserRoute($item->created_user_id));
        ?>
"><?php 
        echo $this->escape($item->author);
        ?>
</a></td>
        <?php 
    }
    ?>
        <?php 
    if ($this->params->get('global_list_meta_hits') != 'hide') {
        ?>
          <td class="list-hits"><?php 
        echo (int) $item->hits;
        ?>
</td>
开发者ID:greyhat777,项目名称:vuslinterliga,代码行数:31,代码来源:default_list.php


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