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


PHP JoomleagueHelperRoute::getRankingRoute方法代码示例

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


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

示例1: getroute

 public function getroute()
 {
     $view = Jrequest::getCmd('view');
     switch ($view) {
         case "matrix":
             $link = JoomleagueHelperRoute::getMatrixRoute(JRequest::getVar('p'), JRequest::getVar('division'), JRequest::getVar('r'));
             break;
         case "teaminfo":
             $link = JoomleagueHelperRoute::getTeamInfoRoute(JRequest::getVar('p'), JRequest::getVar('tid'));
             break;
         case "referees":
             $link = JoomleagueHelperRoute::getRefereesRoute(JRequest::getVar('p'));
             break;
         case "results":
             $link = JoomleagueHelperRoute::getResultsRoute(JRequest::getVar('p'), JRequest::getVar('r'), JRequest::getVar('division'));
             break;
         case "resultsranking":
             $link = JoomleagueHelperRoute::getResultsRankingRoute(JRequest::getVar('p'));
             break;
         case "rankingmatrix":
             $link = JoomleagueHelperRoute::getRankingMatrixRoute(JRequest::getVar('p'), JRequest::getVar('r'), JRequest::getVar('division'));
             break;
         case "resultsrankingmatrix":
             $link = JoomleagueHelperRoute::getResultsRankingMatrixRoute(JRequest::getVar('p'), JRequest::getVar('r'), JRequest::getVar('division'));
             break;
         case "teamplan":
             $link = JoomleagueHelperRoute::getTeamPlanRoute(JRequest::getVar('p'), JRequest::getVar('tid'), JRequest::getVar('division'));
             break;
         case "roster":
             $link = JoomleagueHelperRoute::getPlayersRoute(JRequest::getVar('p'), JRequest::getVar('tid'), null, JRequest::getVar('division'));
             break;
         case "eventsranking":
             $link = JoomleagueHelperRoute::getEventsRankingRoute(JRequest::getVar('p'), JRequest::getVar('division'), JRequest::getVar('tid'));
             break;
         case "curve":
             $link = JoomleagueHelperRoute::getCurveRoute(JRequest::getVar('p'), JRequest::getVar('tid'), 0, JRequest::getVar('division'));
             break;
         case "statsranking":
             $link = JoomleagueHelperRoute::getStatsRankingRoute(JRequest::getVar('p'), JRequest::getVar('division'));
             break;
         default:
         case "ranking":
             $link = JoomleagueHelperRoute::getRankingRoute(JRequest::getVar('p'), JRequest::getVar('r'), null, null, 0, JRequest::getVar('division'));
     }
     // echo json_encode($link);
     // Use the correct json mime-type
     header('Content-Type: application/json');
     // Send the response.
     echo json_encode($link);
     JFactory::getApplication()->close();
 }
开发者ID:Heart1010,项目名称:JoomLeague,代码行数:51,代码来源:ajax.json.php

示例2: getroute

 function getroute()
 {
     $app =& JFactory::getApplication();
     $view = Jrequest::getCmd('view');
     switch ($view) {
         case "teaminfo":
             $link = JoomleagueHelperRoute::getTeamInfoRoute(JRequest::getVar('p'), JRequest::getVar('tid'));
             break;
         case "resultsranking":
             $link = JoomleagueHelperRoute::getResultsRankingRoute(JRequest::getVar('p'));
             break;
         case "rankingmatrix":
             $link = JoomleagueHelperRoute::getRankingMatrixRoute(JRequest::getVar('p'));
             break;
         case "resultsrankingmatrix":
             $link = JoomleagueHelperRoute::getResultsRankingMatrixRoute(JRequest::getVar('p'));
             break;
         case "teamplan":
             $link = JoomleagueHelperRoute::getTeamPlanRoute(JRequest::getVar('p'), JRequest::getVar('tid'), JRequest::getVar('division'));
             break;
         case "roster":
             $link = JoomleagueHelperRoute::getPlayersRoute(JRequest::getVar('p'), JRequest::getVar('tid'));
             break;
         case "eventsranking":
             $link = JoomleagueHelperRoute::getEventsRankingRoute(JRequest::getVar('p'), JRequest::getVar('division'));
             break;
         case "curve":
             $link = JoomleagueHelperRoute::getCurveRoute(JRequest::getVar('p'), 0, 0, JRequest::getVar('division'));
             break;
         case "statsranking":
             $link = JoomleagueHelperRoute::getStatsRankingRoute(JRequest::getVar('p'), JRequest::getVar('division'));
             break;
         default:
         case "ranking":
             $link = JoomleagueHelperRoute::getRankingRoute(JRequest::getVar('p'), null, null, null, 0, JRequest::getVar('division'));
     }
     echo json_encode($link);
     $app->close();
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:39,代码来源:ajax.json.php

示例3: showMatchdaysTitle

 /**
  * Shows matchday title
  *
  * @param string $title
  * @param int $current_round
  * @param array $config
  * @param int $mode
  * @return string html
  */
 function showMatchdaysTitle($title, $current_round, &$config, $mode = 0)
 {
     $projectid = JRequest::getInt('p', 0);
     $joomleague =& JTable::getInstance('Project', 'Table');
     $joomleague->load($projectid);
     echo $title != '' ? $title . ' - ' : $title;
     if ($current_round > 0) {
         $thisround =& JTable::getInstance('Round', 'Table');
         $thisround->load($current_round);
         if ($config['type_section_heading'] == 1 && $thisround->name != '') {
             if ($mode == 1) {
                 $link = JoomleagueHelperRoute::getRankingRoute($projectid, $thisround->id);
                 echo JHTML::link($link, $thisround->name);
             } else {
                 echo $thisround->name;
             }
         } elseif ($thisround->id > 0) {
             echo ' - ' . $thisround->id . '. ' . JText::_('COM_JOOMLEAGUE_RESULTS_MATCHDAY') . ' ';
         }
         if ($config['show_rounds_dates'] == 1) {
             echo " (";
             if (!strstr($thisround->round_date_first, "0000-00-00")) {
                 echo JHTML::date($thisround->round_date_first, 'COM_JOOMLEAGUE_GLOBAL_CALENDAR_DATE');
             }
             if ($thisround->round_date_last != $thisround->round_date_first && !strstr($thisround->round_date_last, "0000-00-00")) {
                 echo " - " . JHTML::date($thisround->round_date_last, 'COM_JOOMLEAGUE_GLOBAL_CALENDAR_DATE');
             }
             echo ")";
         }
     }
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:40,代码来源:html.php

示例4: explode

>
			<?php 
        echo modJLGRankingHelper::getColValue(trim($col), $item);
        ?>
			</td>
			<?php 
    }
    ?>
		</tr>
	<?php 
    $k = 1 - $k;
    ?>
	<?php 
}
?>
	</tbody>
</table>

<?php 
if ($params->get('show_ranking_link', 1)) {
    ?>
<p class="fulltablelink"><?php 
    $divisionid = explode(':', $params->get('division_id', 0));
    $divisionid = $divisionid[0];
    echo JHtml::link(JoomleagueHelperRoute::getRankingRoute($list['project']->slug, null, null, null, null, $divisionid), JText::_('MOD_JOOMLEAGUE_RANKING_VIEW_FULL_TABLE'));
    ?>
</p>
<?php 
}
?>
</div>
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:31,代码来源:default.php

示例5: getLink


//.........这里部分代码省略.........
  */
 public function getLink($view)
 {
     if (!$this->_project_id) {
         return false;
     }
     // echo 'getLink <br>';
     // echo 'round_id ->'.$this->_round_id.'<br>';
     // echo 'project_id ->'.$this->_project_id.'<br>';
     // echo 'division_id ->'.$this->_division_id.'<br>';
     // echo 'team_id ->'.$this->_team_id.'<br>';
     switch ($view) {
         case "calendar":
             $link = JoomleagueHelperRoute::getTeamPlanRoute($this->_project_id, $this->_team_id, $this->_division_id);
             break;
         case "curve":
             $link = JoomleagueHelperRoute::getCurveRoute($this->_project_id, $this->_team_id, 0, $this->_division_id);
             break;
         case "eventsranking":
             $link = JoomleagueHelperRoute::getEventsRankingRoute($this->_project_id, $this->_division_id, $this->_team_id);
             break;
         case "matrix":
             $link = JoomleagueHelperRoute::getMatrixRoute($this->_project_id, $this->_division_id);
             break;
         case "referees":
             $link = JoomleagueHelperRoute::getRefereesRoute($this->_project_id);
             break;
         case "results":
             $link = JoomleagueHelperRoute::getResultsRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "resultsmatrix":
             $link = JoomleagueHelperRoute::getResultsMatrixRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "resultsranking":
             $link = JoomleagueHelperRoute::getResultsRankingRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "rankingalltime":
             $link = JoomleagueHelperRoute::getRankingAllTimeRoute($this->_league_id, $this->getParam('show_alltimetable_points'), $this->_project_id);
             break;
         case "resultsrankingmatrix":
             $link = JoomleagueHelperRoute::getResultsRankingMatrixRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "roster":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getPlayersRoute($this->_project_id, $this->_team_id);
             break;
         case "stats":
             $link = JoomleagueHelperRoute::getStatsRoute($this->_project_id, $this->_division_id);
             break;
         case "statsranking":
             $link = JoomleagueHelperRoute::getStatsRankingRoute($this->_project_id, $this->_division_id);
             break;
         case "teaminfo":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getTeamInfoRoute($this->_project_id, $this->_team_id);
             break;
         case "teamplan":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getTeamPlanRoute($this->_project_id, $this->_team_id, $this->_division_id);
             break;
         case "clubinfo":
             if (!$this->_team_id) {
                 return false;
             }
             $this->getClubId();
             $link = JoomleagueHelperRoute::getClubInfoRoute($this->_project_id, $this->_club_id);
             break;
         case "clubplan":
             if (!$this->_team_id) {
                 return false;
             }
             $this->getClubId();
             $link = JoomleagueHelperRoute::getClubPlanRoute($this->_project_id, $this->_club_id);
             break;
         case "teamstats":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getTeamStatsRoute($this->_project_id, $this->_team_id);
             break;
         case "treetonode":
             $link = JoomleagueHelperRoute::getBracketsRoute($this->_project_id);
             break;
         case "jltournamenttree":
             $link = JoomleagueHelperRoute::getTournamentRoute($this->_project_id, $this->_round_id);
             break;
         case "separator":
             return false;
         default:
         case "ranking":
             $link = JoomleagueHelperRoute::getRankingRoute($this->_project_id, $this->_round_id, null, null, 0, $this->_division_id);
     }
     return $link;
 }
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:101,代码来源:helper.php

示例6: array

"
	align="center" style="display: none"><?php 
        if ($this->config['show_teams_logos']) {
            $picture = $season->picture;
            if (@is_null($picture) or strpos($picture, "/com_joomleague/images/placeholders/placeholder_450.png") or strpos($picture, "/joomleague/placeholders/placeholder_450.png")) {
                $picture = JoomleagueHelper::getDefaultPlaceholder("team");
            }
            $picture_descr = JText::_("COM_JOOMLEAGUE_TEAMINFO_PLAYERS_PICTURE") . " " . $this->team->name . " (" . $season->projectname . ")";
            echo JHtml::image($picture, $picture_descr, array("title" => $picture_descr));
        }
        ?>
 <br />
	<?php 
        $link = JoomleagueHelperRoute::getPlayersRoute($season->project_slug, $season->team_slug);
        echo JHtml::link($link, JText::_('COM_JOOMLEAGUE_TEAMINFO_SEASON_PLAYERS'));
        ?>
 <br />
	<?php 
        $link = JoomleagueHelperRoute::getResultsRoute($season->project_slug);
        echo JHtml::link($link, JText::_('COM_JOOMLEAGUE_TEAMINFO_SEASON_RESULTS'));
        ?>
 <br />
	<?php 
        $link = JoomleagueHelperRoute::getRankingRoute($season->project_slug);
        echo JHtml::link($link, JText::_('COM_JOOMLEAGUE_TEAMINFO_SEASON_TABLES'));
        ?>
 <br />
</div>
	<?php 
    }
}
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:31,代码来源:default_teamseasons.php

示例7: getLink

 /**
  * return link for specified view - allow seo consistency
  * 
  * @param string $view
  * @return string url
  */
 public function getLink($view)
 {
     if (!$this->_project_id) {
         return false;
     }
     switch ($view) {
         case "calendar":
             $link = JoomleagueHelperRoute::getTeamPlanRoute($this->_project_id, $this->_team_id, $this->_division_id);
             break;
         case "curve":
             $link = JoomleagueHelperRoute::getCurveRoute($this->_project_id, $this->_team_id, 0, $this->_division_id);
             break;
         case "eventsranking":
             $link = JoomleagueHelperRoute::getEventsRankingRoute($this->_project_id, $this->_division_id, $this->_team_id);
             break;
         case "matrix":
             $link = JoomleagueHelperRoute::getMatrixRoute($this->_project_id, $this->_division_id);
             break;
         case "referees":
             $link = JoomleagueHelperRoute::getRefereesRoute($this->_project_id);
             break;
         case "results":
             $link = JoomleagueHelperRoute::getResultsRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "resultsmatrix":
             $link = JoomleagueHelperRoute::getResultsMatrixRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "resultsranking":
             $link = JoomleagueHelperRoute::getResultsRankingRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "resultsrankingmatrix":
             $link = JoomleagueHelperRoute::getResultsRankingMatrixRoute($this->_project_id, $this->_round_id, $this->_division_id);
             break;
         case "roster":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getPlayersRoute($this->_project_id, $this->_team_id, null, $this->_division_id);
             break;
         case "stats":
             $link = JoomleagueHelperRoute::getStatsRoute($this->_project_id, $this->_division_id);
             break;
         case "statsranking":
             $link = JoomleagueHelperRoute::getStatsRankingRoute($this->_project_id, $this->_division_id);
             break;
         case "teaminfo":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getTeamInfoRoute($this->_project_id, $this->_team_id);
             break;
         case "teamplan":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getTeamPlanRoute($this->_project_id, $this->_team_id, $this->_division_id);
             break;
         case "teamstats":
             if (!$this->_team_id) {
                 return false;
             }
             $link = JoomleagueHelperRoute::getTeamStatsRoute($this->_project_id, $this->_team_id);
             break;
         case "treetonode":
             $link = JoomleagueHelperRoute::getBracketsRoute($this->_project_id);
             break;
         case "separator":
             return false;
         default:
         case "ranking":
             $link = JoomleagueHelperRoute::getRankingRoute($this->_project_id, $this->_round_id, null, null, 0, $this->_division_id);
     }
     return $link;
 }
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:80,代码来源:helper.php

示例8: foreach

echo JText::_('COM_JOOMLEAGUE_TEAMINFO_TOTAL_WDL');
?>
</td>
		<td><?php 
echo JText::_('COM_JOOMLEAGUE_TEAMINFO_TOTAL_GOALS');
?>
</td>
		<td><?php 
echo JText::_('COM_JOOMLEAGUE_TEAMINFO_TOTAL_PLAYERS');
?>
</td>
	</tr>
	<?php 
$k = 0;
foreach ($this->seasons as $season) {
    $ranking_link = JoomleagueHelperRoute::getRankingRoute($season->project_slug, null, null, null, 0, $season->division_slug);
    $results_link = JoomleagueHelperRoute::getResultsRoute($season->project_slug, null, $season->division_slug);
    $teamplan_link = JoomleagueHelperRoute::getTeamPlanRoute($season->project_slug, $this->team->slug, $season->division_slug);
    $teamstats_link = JoomleagueHelperRoute::getTeamStatsRoute($season->project_slug, $this->team->slug);
    $players_link = JoomleagueHelperRoute::getPlayersRoute($season->project_slug, $season->team_slug);
    ?>
	<tr class="<?php 
    echo $k == 0 ? $this->config['style_class1'] : $this->config['style_class2'];
    ?>
">
		<td><?php 
    echo $season->season;
    ?>
</td>
		<td><?php 
    echo $season->league;
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:31,代码来源:default_history.php

示例9: showMatchdaysTitle

 /**
  * Shows matchday title
  *
  * @param string $title
  * @param int $current_round
  * @param array $config
  * @param int $mode
  * @return string html
  */
 public static function showMatchdaysTitle($title, $current_round, &$config, $project, $overallconfig = false, $mode = 0)
 {
     $projectid = $project->id;
     echo $title != '' ? $title . ' - ' : $title;
     if ($current_round > 0) {
         $thisround = JTable::getInstance('Round', 'Table');
         $thisround->load($current_round);
         if ($config['type_section_heading'] == 1 && $thisround->name != '') {
             if ($mode == 1) {
                 $link = JoomleagueHelperRoute::getRankingRoute($projectid, $thisround->id);
                 echo JHtml::link($link, $thisround->name);
             } else {
                 echo $thisround->name;
             }
         } elseif ($thisround->roundcode > 0) {
             echo ' ' . JText::sprintf('COM_JOOMLEAGUE_RESULTS_MATCHDAY', $thisround->roundcode) . '&nbsp;';
         }
         if ($config['show_rounds_dates'] == 1) {
             echo " (";
             if (!strstr($thisround->round_date_first, "0000-00-00")) {
                 echo JHtml::date($thisround->round_date_first . ' UTC', 'COM_JOOMLEAGUE_GLOBAL_CALENDAR_DATE', JoomleagueHelper::getTimezone($project, $overallconfig));
             }
             if ($thisround->round_date_last != $thisround->round_date_first && !strstr($thisround->round_date_last, "0000-00-00")) {
                 echo " - " . JHtml::date($thisround->round_date_last . ' UTC', 'COM_JOOMLEAGUE_GLOBAL_CALENDAR_DATE', JoomleagueHelper::getTimezone($project, $overallconfig));
             }
             echo ")";
         }
     }
 }
开发者ID:hfmprs,项目名称:JoomLeague,代码行数:38,代码来源:html.php

示例10: computeRanking

 /**
  * computes the ranking
  *
  */
 function computeRanking()
 {
     $mainframe = JFactory::getApplication();
     $project =& $this->getProject();
     $mdlRound = JModel::getInstance("Round", "JoomleagueModel");
     $mdlRounds = JModel::getInstance("Rounds", "JoomleagueModel");
     $mdlRounds->setProjectId($project->id);
     $firstRound = $mdlRounds->getFirstRound($project->id);
     $lastRound = $mdlRounds->getLastRound($project->id);
     // url if no sef link comes along (ranking form)
     $url = JoomleagueHelperRoute::getRankingRoute($this->projectid);
     $tableconfig = $this->getTemplateConfig("ranking");
     $this->round = $this->round == 0 ? $this->getCurrentRound() : $this->round;
     $this->rounds = $this->getRounds();
     if ($this->part == 1) {
         $this->from = $firstRound['id'];
         // diddipoeler: das ist ein bug
         //$this->to = $this->rounds[intval(count($this->rounds)/2)]->id;
         $this->to = $this->rounds[intval(count($this->rounds) / 2) - 1]->id;
     } elseif ($this->part == 2) {
         // diddipoeler: das ist ein bug
         //$this->from = $this->rounds[intval(count($this->rounds)/2)+1]->id;
         $this->from = $this->rounds[intval(count($this->rounds) / 2)]->id;
         $this->to = $lastRound['id'];
     } else {
         $this->from = JRequest::getInt('from', $firstRound['id']);
         $this->to = JRequest::getInt('to', $this->round, $lastRound['id']);
     }
     if ($this->part > 0) {
         $url .= '&amp;part=' . $this->part;
     } elseif ($this->from != 1 || $this->to != $this->round) {
         $url .= '&amp;from=' . $this->from . '&amp;to=' . $this->to;
     }
     $this->type = JRequest::getInt('type', 0);
     if ($this->type > 0) {
         $url .= '&amp;type=' . $this->type;
     }
     $this->divLevel = 0;
     //echo 'computeRanking this->part -> '.'<pre>'.print_r($this->part,true).'</pre>';
     //echo 'computeRanking this->from -> '.'<pre>'.print_r($this->from,true).'</pre>';
     //echo 'computeRanking this->to-> '.'<pre>'.print_r($this->to,true).'</pre>';
     //echo 'computeRanking this->rounds -> '.'<pre>'.print_r($this->rounds,true).'</pre>';
     //$mainframe->enqueueMessage(JText::_('computeRanking this->part -> '.'<pre>'.print_r($this->part,true).'</pre>' ),'');
     //$mainframe->enqueueMessage(JText::_('computeRanking this->from -> '.'<pre>'.print_r($this->from,true).'</pre>' ),'');
     //$mainframe->enqueueMessage(JText::_('computeRanking this->to-> '.'<pre>'.print_r($this->to,true).'</pre>' ),'');
     //$mainframe->enqueueMessage(JText::_('computeRanking this->rounds -> '.'<pre>'.print_r($this->rounds,true).'</pre>' ),'');
     //for sub division ranking tables
     if ($project->project_type == 'DIVISIONS_LEAGUE') {
         $selDivision = JRequest::getInt('division', 0);
         $this->divLevel = JRequest::getInt('divLevel', $tableconfig['default_division_view']);
         if ($selDivision > 0) {
             $url .= '&amp;division=' . $selDivision;
             $divisions = array($selDivision);
         } else {
             // check if division level view is allowed. if not, replace with default
             if ($this->divLevel == 0 && $tableconfig['show_project_table'] == 0 || $this->divLevel == 1 && $tableconfig['show_level1_table'] == 0 || $this->divLevel == 2 && $tableconfig['show_level2_table'] == 0) {
                 $this->divLevel = $tableconfig['default_division_view'];
             }
             $url .= '&amp;divLevel=' . $this->divLevel;
             if ($this->divLevel) {
                 $divisions = $this->getDivisionsId($this->divLevel);
                 //	print_r( $divisions);
             } else {
                 $divisions = array(0);
             }
         }
     } else {
         $divisions = array(0);
         //project
     }
     $selectedvalue = 0;
     $last = JRequest::getInt('last', 0);
     if ($last > 0) {
         $url .= '&amp;last=' . $last;
     }
     if (JRequest::getInt('sef', 0) == 1) {
         $mainframe->redirect(JRoute::_($url));
     }
     /**
      * create ranking object	
      *
      */
     $ranking = JLGRanking::getInstance($project);
     $ranking->setProjectId($this->projectid);
     foreach ($divisions as $division) {
         //away rank
         if ($this->type == 2) {
             $this->currentRanking[$division] = $ranking->getRankingAway($this->from, $this->to, $division);
         } else {
             if ($this->type == 1) {
                 $this->currentRanking[$division] = $ranking->getRankingHome($this->from, $this->to, $division);
             } else {
                 $this->currentRanking[$division] = $ranking->getRanking($this->from, $this->to, $division);
                 $this->homeRank[$division] = $ranking->getRankingHome($this->from, $this->to, $division);
                 $this->awayRank[$division] = $ranking->getRankingAway($this->from, $this->to, $division);
             }
//.........这里部分代码省略.........
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:101,代码来源:ranking.php


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