当前位置: 首页>>代码示例>>PHP>>正文


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怎么用?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;
}
开发者ID:urki,项目名称:urki-test-project,代码行数:14,代码来源:view_year_reposrt_NEDELA.php

示例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);
开发者ID:urki,项目名称:urki-test-project,代码行数:31,代码来源:view_year_report_1.php


注:本文中的DAL::get_count_dissorder_age_persons_by_unit方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。