Beispiel #1
0
            $where = ' and ' . $where;
        }
        $listquery = $focus->getListQuery($where);
    } else {
        $listquery = getListQuery($currentModule);
        if (!empty($where)) {
            $listquery .= ' and ' . $where;
        }
    }
}
if ($viewid != "0") {
    $list_query = $oCustomView->getModifiedCvListQuery($viewid, $listquery, $currentModule);
} else {
    $list_query = $listquery;
}
//print_r($listviewreport->getPicklistGroupInf($list_query));
$picklistinf = $listviewreport->getPicklistGroupInf($list_query);
$reportData = $listviewreport->getPicklistDataHTML($picklistinf);
$return = $listviewreport->getPicklistChartHTML($picklistinf);
$graphtypeopts = $listviewreport->getGraphTypeOpts();
$collectcolumnopts = $listviewreport->getCollectColumnOpts();
//$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
$smarty->assign("TITLE", $listviewreport->getTitle());
$smarty->assign("HIDDENFIELDHTML", $listviewreport->getHiddenFieldHTML());
$smarty->assign("QUERY_STRING", $queryString);
$smarty->assign("REPORT_FLASH", $return);
$smarty->assign("REPORT_DATA", $reportData);
$smarty->assign("GRAPHTYPEOPTS", $graphtypeopts);
$smarty->assign("COLLECTCOLUMNOPTS", $collectcolumnopts);
$smarty->display("ListViewReport/ReportGraph.tpl");