本文整理汇总了PHP中DAL::get_count_dissorder_age_persons_by_unit方法的典型用法代码示例。如果您正苦于以下问题:PHP DAL::get_count_dissorder_age_persons_by_unit方法的具体用法?PHP DAL::get_count_dissorder_age_persons_by_unit怎么用?PHP DAL::get_count_dissorder_age_persons_by_unit使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DAL
的用法示例。
在下文中一共展示了DAL::get_count_dissorder_age_persons_by_unit方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: query1
function query1($disorder)
{
echo "jaz sem funkcija";
$dal = new DAL();
$age_min = 18;
$age_max = 36;
$unitarray = array(75, 77, 78);
$disorderarray = array(1, 2, 3, 4, 5);
$cat = $dal->get_count_dissorder_age_persons_by_unit($unit_in, 0, 11, $age_min, $age_max, $disorder);
$cat = $cat[0];
$table = str_replace("##DISORDER{$disorder}##", $cat->sestevek, $table);
echo $table;
return $table;
}
示例2: array
$enota = $enota[0];
$table = str_replace("##UNIT##", $enota->name, $table);
$age_group1 = array(18, 25);
$age_group2 = array(26, 35);
$age_min = 18;
$age_max = 36;
$unitarray = array(75, 77, 78);
$disorderarray = array(1, 2, 3, 4, 5);
$unit_in = 78;
$enota = $dal->get_unit_by_persons_unit($unit_in);
$enota = $enota[0];
$table = str_replace("##UNIT##", $enota->name, $table);
$array1 = array(array($unit_in, 0, 11, $age_min, $age_max, 1));
echo "fdfsf";
$table .= $row;
$cat1 = $dal->get_count_dissorder_age_persons_by_unit($unit_in, 0, 11, $age_min, $age_max, 1);
// $cat1 = $dal->get_count_dissorder_age_persons_by_unit($array);
$cat1 = $cat1[0];
$table = str_replace("##DISORDER##", $cat1->sestevek, $table);
/*
$cat1 = $dal->get_count_dissorder_age_persons_by_unit($unit_in, 0, 11, $age_min, $age_max, 1);
$cat1=$cat1[0];
$table = str_replace("##DISORDER##", $cat1->sestevek, $table);
$cat2 = $dal->get_count_dissorder_age_persons_by_unit($unit_in, 0, 11, $age_min, $age_max, 2);
$cat2=$cat2[0];
$table = str_replace("##DISORDER2##", $cat2->sestevek, $table);
$cat3 = $dal->get_count_dissorder_age_persons_by_unit($unit_in, 0, 11, $age_min, $age_max, 3);
$cat3=$cat3[0];
$table = str_replace("##DISORDER3##", $cat3->sestevek, $table);