本文整理汇总了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) {