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


PHP JoomleagueHelperRoute::getProjectTeamInfoRoute方法代码示例

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


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

示例1: defined

<?php

/**
 * Joomleague
 *
 * @copyright	Copyright (C) 2006-2015 joomleague.at. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @link		http://www.joomleague.at
 */
defined('_JEXEC') or die;
?>
<!-- START: Contentheading -->
<div class="contentpaneopen">
	<div class="contentheading">
		<?php 
echo $this->pagetitle;
if ($this->showediticon) {
    $modalheight = JComponentHelper::getParams('com_joomleague')->get('modal_popup_height', 600);
    $modalwidth = JComponentHelper::getParams('com_joomleague')->get('modal_popup_width', 900);
    $link = JoomleagueHelperRoute::getProjectTeamInfoRoute($this->project->id, $this->team->project_team_id, 'projectteam.edit');
    echo ' <a rel="{handler: \'iframe\',size: {x:' . $modalwidth . ',y:' . $modalheight . '}}" href="' . $link . '" class="modal">';
    echo JHtml::image("media/com_joomleague/jl_images/edit.png", JText::_('COM_JOOMLEAGUE_TEAMINFO_EDIT'), array("title" => JText::_("COM_JOOMLEAGUE_TEAMINFO_EDIT")));
    echo '</a>';
}
?>
	</div>
</div>
<!-- END: Contentheading -->
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:28,代码来源:default_sectionheader.php

示例2:

        if ($this->config['show_teaminfo_link'] == 1) {
            $link = JoomleagueHelperRoute::getProjectTeamInfoRoute($this->project->id, $this->highest_away->project_hometeam_id);
            echo JHtml::link($link, $team);
        } else {
            echo $team;
        }
        echo " - ";
        $team = '';
        $pic = $this->config['show_picture'];
        if ($pic != "") {
            $team .= JoomleagueHelper::getPictureThumb($this->haAwayTeaminfo->{$pic}, $this->haAwayTeaminfo->name, $this->config['team_picture_width'], $this->config['team_picture_height'], 3);
            $team .= " ";
        }
        $team .= $this->haAwayTeaminfo->name;
        if ($this->config['show_teaminfo_link'] == 1) {
            $link = JoomleagueHelperRoute::getProjectTeamInfoRoute($this->project->id, $this->highest_away->project_awayteam_id);
            echo JHtml::link($link, $team);
        } else {
            echo $team;
        }
    }
    ?>
		</td>
		<td class="statvalue"><br />
		<?php 
    if ($this->totals->playedmatches > 0 && $this->highest_away) {
        echo $this->highest_away->homegoals . $this->overallconfig['seperator'] . $this->highest_away->guestgoals;
    }
    ?>
		</td>
	</tr>
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:31,代码来源:default_stats.php


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