本文整理汇总了PHP中interPool::getTeamLigueInfoForecaster方法的典型用法代码示例。如果您正苦于以下问题:PHP interPool::getTeamLigueInfoForecaster方法的具体用法?PHP interPool::getTeamLigueInfoForecaster怎么用?PHP interPool::getTeamLigueInfoForecaster使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类interPool
的用法示例。
在下文中一共展示了interPool::getTeamLigueInfoForecaster方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$id_team = $teamInfoA['id'];
$city = $teamInfoA['city'];
$team_name = $teamInfoA['name'];
$abbr = $teamInfoA['abbr'];
$logo = $teamInfoA['logo'];
$siteWeb = $teamInfoA['siteWeb'];
$tip_team = "{$city} {$team_name}";
$tip_team = str_replace("'", "\\'", $tip_team);
if ($tip_team == "" || $tip_team == " " || $tip_team == " ") {
$tip_team = "Not Available";
}
if ($abbr == "") {
$abbr = "N/A";
}
// info ligue
$ligueInfoA = $pool->getTeamLigueInfoForecaster($ligue);
$id_ligue = $ligueInfoA['id'];
$ligue_name = $ligueInfoA['name'];
$ligue_type = $ligueInfoA['type'];
$ligue_logo = $ligueInfoA['logo'];
$ligue_siteWeb = $ligueInfoA['siteWeb'];
$ligue = $ligueInfoA['abbr_fore_1'];
$tip_ligue = "{$ligue_name} ({$ligue_type})";
$tip_ligue = str_replace("'", "\\'", $tip_ligue);
echo "<tr>\n";
echo "<td class=\"tableCellRidge1\" style=\"padding-left:3px;padding-top:3px;padding-bottom:3px;font-size:10px;\">{$saison_name}</td>\n";
if ($logo != "") {
echo "<td class=\"tableCellRidge1\" align=\"center\" style=\"font-size:10px;\" " . "onmouseover=\"ddrivetip('{$tip_team}',175);\" onmouseout=\"hideddrivetip();\">" . "<a href=\"{$siteWeb}\" target=\"_blank\"><img src=\"{$logo}\" border=0 /></a></td>\n";
} else {
echo "<td class=\"tableCellRidge1\" align=\"center\" style=\"font-size:10px;\" " . "onmouseover=\"ddrivetip('{$tip_team}',175);\" onmouseout=\"hideddrivetip();\">" . "<a href=\"{$siteWeb}\" target=\"_blank\">{$abbr}</a></td>\n";
}