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


PHP JoomleagueHelperRoute::getRefereeRoute方法代码示例

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


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

示例1: foreach

    echo JText::_('COM_JOOMLEAGUE_PERSON_COMPETITION');
    ?>
</th>
					<th class="td_l"><?php 
    echo JText::_('COM_JOOMLEAGUE_PERSON_SEASON');
    ?>
</th>
					<th class="td_l"><?php 
    echo JText::_('COM_JOOMLEAGUE_PERSON_POSITION');
    ?>
</th>
				</tr>
					<?php 
    $k = 0;
    foreach ($this->history as $station) {
        $link1 = JoomleagueHelperRoute::getRefereeRoute($station->project_slug, $this->referee->slug);
        ?>
						<tr class="<?php 
        echo $k == 0 ? $this->config['style_class1'] : $this->config['style_class2'];
        ?>
">
							<td class="td_l"><?php 
        echo JHTML::link($link1, $station->project_name);
        ?>
</td>
							<td class="td_l"><?php 
        echo $station->season_name;
        ?>
</td>
							<td class="td_l"><?php 
        echo $station->position_name ? JText::_($station->position_name) : "";
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:31,代码来源:default_career.php

示例2: foreach

?>
	<!-- referees -->
	<?php 
if ($this->config['show_match_referees'] == 1) {
    if ($this->matchreferees) {
        ?>
            <tr>
                <td colspan="3" >
                    <span class="label"><?php 
        echo JText::_('COM_JOOMLEAGUE_MATCHREPORT_REFEREE');
        ?>
</span>
                    <?php 
        $first = true;
        foreach ($this->matchreferees as $referee) {
            $referee_link = JoomleagueHelperRoute::getRefereeRoute($this->project->id, $referee->id);
            if (!$first) {
                echo ', ';
            }
            $link = JHTML::link($referee_link, JoomleagueHelper::formatName(null, $referee->firstname, $referee->nickname, $referee->lastname, $this->config["name_format"]));
            if ($this->config["show_referee_position"] == 1) {
                $link .= ' (' . $referee->position_name . ')';
            }
            ?>
<span><?php 
            echo $link;
            ?>
</span>
                        <?php 
            $first = false;
        }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:31,代码来源:default_details.php

示例3: elseif

                        echo JURI::root();
                        ?>
media/com_joomleague/jl_images/icon-16-Referees.png' alt='' title='' /> </span>
				<?php 
                    }
                } else {
                    $output = '';
                    $toolTipTitle = JText::_('COM_JOOMLEAGUE_TEAMPLAN_REF_TOOLTIP');
                    $toolTipText = '';
                    for ($i = 0; $i < count($match->referees); $i++) {
                        if ($match->referees[$i]->referee_lastname != '' && $match->referees[$i]->referee_firstname) {
                            $output .= '<span class="hasTip" title="' . JText::_('COM_JOOMLEAGUE_TEAMPLAN_REF_FUNCTION') . '::' . $match->referees[$i]->referee_position_name . '">';
                            $ref = $match->referees[$i]->referee_lastname . ',' . $match->referees[$i]->referee_firstname;
                            $toolTipText .= $ref . ' (' . $match->referees[$i]->referee_position_name . ')' . '&lt;br /&gt;';
                            if ($this->config['show_referee_link']) {
                                $link = JoomleagueHelperRoute::getRefereeRoute($this->project->slug, $match->referees[$i]->referee_id, 3);
                                $ref = JHTML::link($link, $ref);
                            }
                            $output .= $ref;
                            $output .= '</span>';
                            if ($i + 1 < count($match->referees)) {
                                $output .= ' - ';
                            }
                        } else {
                            $output .= '-';
                        }
                    }
                    if ($this->config['show_referee'] == 1) {
                        echo $output;
                    } elseif ($this->config['show_referee'] == 2) {
                        ?>
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:31,代码来源:default_plan.php

示例4: htmlspecialchars

        }
        $class = $k == 0 ? $params->get('sectiontableentry1') : $params->get('sectiontableentry2');
        $thispic = "";
        $flag = $params->get('show_player_flag') ? Countries::getCountryFlag($person['country']) . "&nbsp;" : "";
        $text = htmlspecialchars(JoomleagueHelper::formatName(null, $person['firstname'], $person['nickname'], $person['lastname'], $params->get("name_format")), ENT_QUOTES, 'UTF-8');
        $usedname = $flag . $text;
        $person_link = "";
        $person_type = $person['type'];
        if ($person_type == 1) {
            $person_link = JoomleagueHelperRoute::getPlayerRoute($person['project_id'], $person['team_id'], $person['id']);
        } else {
            if ($person_type == 2) {
                $person_link = JoomleagueHelperRoute::getStaffRoute($person['project_id'], $person['team_id'], $person['id']);
            } else {
                if ($person_type == 3) {
                    $person_link = JoomleagueHelperRoute::getRefereeRoute($person['project_id'], $person['team_id'], $person['id']);
                }
            }
        }
        $showname = JHtml::link($person_link, $usedname);
        ?>
	<tr class="<?php 
        echo $params->get('heading_style');
        ?>
">
		<td class="birthday"><?php 
        echo $showname;
        ?>
</td>
	</tr>
	<tr class="<?php 
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:31,代码来源:default.php

示例5: defined

<?php

defined('_JEXEC') or die('Restricted access');
?>
<table width="100%" class="contentpaneopen">
	<tr>
		<td class="contentheading">
			<?php 
echo $this->pagetitle;
if ($this->showediticon) {
    $link = JoomleagueHelperRoute::getRefereeRoute($this->project->id, $this->referee->projectreferee_id, 'projectreferee.edit');
    $desc = JHtml::image("media/com_joomleague/jl_images/edit.png", JText::_('COM_JOOMLEAGUE_REFEREE_EDIT'), array("title" => JText::_("COM_JOOMLEAGUE_REFEREE_EDIT")));
    echo " ";
    echo JHtml::_('link', $link, $desc);
} else {
    //echo "no permission";
}
?>
		</td>
	</tr>
</table>
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:21,代码来源:default_sectionheader.php

示例6: foreach

					<?php 
    }
    ?>
				<td  class="td_l">
					<?php 
    echo $tname2;
    ?>
				</td>
					<?php 
    if ($this->config['show_referee'] == 1) {
        ?>
				<td>
					<?php 
        $matchReferees = $this->model->getMatchReferees($game->match_id);
        foreach ($matchReferees as $matchReferee) {
            $referee_link = JoomleagueHelperRoute::getRefereeRoute($game->project_id, $matchReferee->id);
            echo JHtml::link($referee_link, $matchReferee->firstname . " " . $matchReferee->lastname);
            echo '<br />';
        }
        ?>
				</td>
					<?php 
    }
    ?>
					<?php 
    if ($this->config['show_playground'] == 1) {
        ?>
				<td>
					<?php 
        echo JHtml::link($playground_link, $game->pl_name);
        ?>
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:31,代码来源:default_matches.php

示例7:

					<?php 
        echo '&nbsp;';
        ?>
				</td>
				<td width="40" style="text-align:center; " class="nowrap">
					<?php 
        $refereeName = JoomleagueHelper::formatName(null, $row->firstname, $row->nickname, $row->lastname, $this->config["name_format"]);
        if ($this->config['show_icon'] == 1) {
            echo JoomleagueHelper::getPictureThumb($row->picture, $refereeName, $this->config['referee_picture_width'], $this->config['referee_picture_height']);
        }
        ?>
				</td>
				<td style="width:20%;">
					<?php 
        if ($this->config['link_name'] == 1) {
            $link = JoomleagueHelperRoute::getRefereeRoute($this->project->slug, $row->slug);
            echo JHTML::link($link, '<i>' . $refereeName . '</i>');
        } else {
            echo '<i>' . $refereeName . '</i>';
        }
        ?>
				</td>
				<td style="width:16px; text-align:center; " class="nowrap" >
					<?php 
        echo Countries::getCountryFlag($row->country);
        ?>
				</td>
				<?php 
        if ($this->config['show_birthday'] > 0) {
            ?>
					<td width="10%" class="nowrap" style="text-align:left; ">
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:31,代码来源:default_referees.php


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