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


PHP JoomleagueHelperRoute::getRankingAllTimeRoute方法代码示例

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


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

示例1: 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;
     }
     // 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:
//.........这里部分代码省略.........
开发者ID:santas156,项目名称:joomleague-2-komplettpaket,代码行数:101,代码来源:helper.php


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