本文整理匯總了PHP中DAL::get_count_persons_available_by_date方法的典型用法代碼示例。如果您正苦於以下問題:PHP DAL::get_count_persons_available_by_date方法的具體用法?PHP DAL::get_count_persons_available_by_date怎麽用?PHP DAL::get_count_persons_available_by_date使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類DAL
的用法示例。
在下文中一共展示了DAL::get_count_persons_available_by_date方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: DAL
if ($praznik == $date) {
$free_day = $praznik;
$continue;
}
}
if ($free_day) {
//echo $date ." = " .$free_day."<br>"; // praznik//
continue;
//za ta datum in gremo na novga//
} else {
//gledama za ta dan//
$number_days++;
$q = new DAL();
$q2 = new DAL();
unset($res_work);
$res_work = $q->get_count_persons_available_by_date($date);
//if ($x==12) print_r($res_work);
//var_dump($res_work);
//die()
foreach ($res_work as $work_c) {
$unit_id = $work_c["unit_id"];
$stevilo = $work_c["stevilo"];
//if ($unit_id==77 and $x==12) echo $date." ".$stevilo." ---- ".print_r($work_c)."<br><br><hr>";
$work_count[$date][$unit_id] = $stevilo;
//echo $stevilo." - u:". $unit_id." $date <br>";
}
unset($res_full);
$res_full = $q2->get_count_persons_registered_by_unit($date);
//if ($x==12 ) print_r($res_full);
// var_dump($res_full);
foreach ($res_full as $all) {