本文整理汇总了PHP中interPool::getPtsPoolPer方法的典型用法代码示例。如果您正苦于以下问题:PHP interPool::getPtsPoolPer方法的具体用法?PHP interPool::getPtsPoolPer怎么用?PHP interPool::getPtsPoolPer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类interPool
的用法示例。
在下文中一共展示了interPool::getPtsPoolPer方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: explode
case "live":
$valueA = explode(":", $data2);
$visitor_nickname = $valueA[0];
$visitor_realname = $valueA[1];
$home_nickname = $valueA[2];
$home_realname = $valueA[3];
$no_match = $valueA[4];
$gerant_visitor_city = $valueA[5];
$gerant_visitor_team_name = $valueA[6];
$gerant_visitor_team_logo = $valueA[7];
$gerant_home_city = $valueA[8];
$gerant_home_team_name = $valueA[9];
$gerant_home_team_logo = $valueA[10];
$id_gerant_home = $valueA[11];
$id_gerant_visitor = $valueA[12];
$pts_pool_per_visitor = $pool->getPtsPoolPer($id_pool, $id_saison, $id_gerant_visitor, $periode_sel);
$parties_reste_per_visitor = $pool->getMatchsRestantsPer($id_pool, $id_saison, $id_gerant_visitor, $periode_sel);
$total_live_pts_visitor = $pool->getTotalLivePts($id_pool, $id_saison, $id_gerant_visitor, $periode_sel);
$pts_pool_prediction_visitor = $pts_pool_per_visitor + $total_live_pts_visitor;
if ($total_live_pts_visitor == 0) {
$str_pts_visitor = "{$pts_pool_per_visitor} points";
} else {
$str_pts_visitor = "{$pts_pool_prediction_visitor} points ({$pts_pool_per_visitor} officiel)";
}
$pts_pool_per_home = $pool->getPtsPoolPer($id_pool, $id_saison, $id_gerant_home, $periode_sel);
$parties_reste_per_home = $pool->getMatchsRestantsPer($id_pool, $id_saison, $id_gerant_home, $periode_sel);
$total_live_pts_home = $pool->getTotalLivePts($id_pool, $id_saison, $id_gerant_home, $periode_sel);
$pts_pool_prediction_home = $pts_pool_per_home + $total_live_pts_home;
if ($total_live_pts_home == 0) {
$str_pts_home = "{$pts_pool_per_home} points";
} else {