本文整理匯總了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";
}