本文整理汇总了PHP中CTicket::GetMessageDynamicList方法的典型用法代码示例。如果您正苦于以下问题:PHP CTicket::GetMessageDynamicList方法的具体用法?PHP CTicket::GetMessageDynamicList怎么用?PHP CTicket::GetMessageDynamicList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CTicket
的用法示例。
在下文中一共展示了CTicket::GetMessageDynamicList方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: intval
}
if ($find_open == "Y") {
$arrY_open[] = intval($f_OPEN_TICKETS);
}
if ($find_close == "Y") {
$arrY_close[] = intval($f_CLOSE_TICKETS);
}
$prev_date = $date;
}
/******************************************************
‘ормируем ось X
*******************************************************/
$arrayX = GetArrayX($arrX, $MinX, $MaxX);
if ($find_mess == "Y" || $find_overdue_mess == "Y") {
$arFilter = array("SITE" => $find_site, "DATE_CREATE_1" => $find_date1, "DATE_CREATE_2" => $find_date2, "OWNER_ID" => $find_responsible_id, "OWNER" => $find_responsible, "OWNER_EXACT_MATCH" => $find_responsible_exact_match, "SLA" => $find_sla_id, "CATEGORY" => $find_category_id, "CRITICALITY" => $find_criticality_id, "STATUS" => $find_status_id, "MARK" => $find_mark_id, "SOURCE" => $find_source_id, "IS_HIDDEN" => "N", "IS_LOG" => "N", "IS_OVERDUE" => "N");
$rsMess = CTicket::GetMessageDynamicList($v1 = "s_date_create", $v2 = "asc", $arFilter);
while ($arMess = $rsMess->Fetch()) {
$date = mktime(0, 0, 0, $arMess["CREATE_MONTH"], $arMess["CREATE_DAY"], $arMess["CREATE_YEAR"]);
$arrMessages[$date] = $arMess["COUNTER"];
$arrOverdueMessages[$date] = $arMess["COUNTER_OVERDUE"];
}
foreach ($arrX as $t) {
$arrY_mess[] = intval($arrMessages[$t]);
$arrY_overdue_mess[] = intval($arrOverdueMessages[$t]);
}
}
/******************************************************
‘ормируем ось Y
*******************************************************/
$arrY = array();
if ($find_all == "Y") {