本文整理汇总了PHP中CSession::GetList方法的典型用法代码示例。如果您正苦于以下问题:PHP CSession::GetList方法的具体用法?PHP CSession::GetList怎么用?PHP CSession::GetList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CSession
的用法示例。
在下文中一共展示了CSession::GetList方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: InitBVar
InitBVar($find_referer3_exact_match);
InitBVar($find_user_agent_exact_match);
InitBVar($find_country_exact_match);
InitBVar($find_region_exact_match);
InitBVar($find_city_exact_match);
InitBVar($find_stop_list_id_exact_match);
InitBVar($find_url_last_exact_match);
InitBVar($find_url_to_exact_match);
if (CheckFilter()) {
$arFilter = array("ID" => $find_id, "FIRST_SITE_ID" => $find_first_site_id, "LAST_SITE_ID" => $find_last_site_id, "DATE_START_1" => $find_date1, "DATE_START_2" => $find_date2, "DATE_END_1" => $find_date_end1, "DATE_END_2" => $find_date_end2, "USER" => $find_user, "NEW_GUEST" => $find_new_guest, "GUEST_ID" => $find_guest_id, "IP" => $find_ip, "REGISTERED" => $find_registered, "EVENTS1" => $find_events1, "EVENTS2" => $find_events2, "HITS1" => $find_hits1, "HITS2" => $find_hits2, "ADV" => $find_adv, "ADV_ID" => $find_adv_id, "ADV_BACK" => $find_adv_back, "REFERER1" => $find_referer1, "REFERER2" => $find_referer2, "REFERER3" => $find_referer3, "USER_AGENT" => $find_user_agent, "COUNTRY_ID" => $find_country_id, "COUNTRY" => $find_country, "REGION" => $find_region, "CITY_ID" => $find_city_id, "CITY" => $find_city, "STOP" => $find_stop, "STOP_LIST_ID" => $find_stop_list_id, "URL_LAST" => $find_url_last, "URL_LAST_404" => $find_url_last_404, "URL_TO" => $find_url_to, "URL_TO_404" => $find_url_to_404, "ID_EXACT_MATCH" => $find_id_exact_match, "USER_EXACT_MATCH" => $find_user_exact_match, "GUEST_ID_EXACT_MATCH" => $find_guest_id_exact_match, "IP_EXACT_MATCH" => $find_ip_exact_match, "ADV_ID_EXACT_MATCH" => $find_adv_id_exact_match, "REFERER1_EXACT_MATCH" => $find_referer12_exact_match, "REFERER2_EXACT_MATCH" => $find_referer12_exact_match, "REFERER3_EXACT_MATCH" => $find_referer3_exact_match, "USER_AGENT_EXACT_MATCH" => $find_user_agent_exact_match, "COUNTRY_EXACT_MATCH" => $find_country_exact_match, "COUNTRY_ID_EXACT_MATCH" => $find_country_exact_match, "REGION_EXACT_MATCH" => $find_region_exact_match, "CITY_EXACT_MATCH" => $find_city_exact_match, "CITY_ID_EXACT_MATCH" => $find_city_exact_match, "STOP_LIST_ID_EXACT_MATCH" => $find_stop_list_id_exact_match, "URL_LAST_EXACT_MATCH" => $find_url_last_exact_match, "URL_TO_EXACT_MATCH" => $find_url_to_exact_match);
} else {
if ($e = $APPLICATION->GetException()) {
$GLOBALS["lAdmin"]->AddFilterError(GetMessage("STAT_FILTER_ERROR") . ": " . $e->GetString());
}
}
$rsData = CSession::GetList($by, $order, $arFilter, $is_filtered);
$rsData = new CAdminResult($rsData, $sTableID);
$rsData->NavStart();
$lAdmin->NavText($rsData->GetNavPrint(GetMessage("STAT_SESS_PAGES")));
$arHeaders = array();
$arHeaders[] = array("id" => "ID", "content" => "ID", "sort" => "s_id", "default" => true);
$arHeaders[] = array("id" => "USER_ID", "content" => GetMessage("STAT_USER"), "sort" => "s_user_id", "default" => true);
$arHeaders[] = array("id" => "DATE_FIRST", "content" => GetMessage("STAT_START"), "sort" => "s_date_first", "default" => true);
$arHeaders[] = array("id" => "DATE_LAST", "content" => GetMessage("STAT_END"), "sort" => "s_date_last", "default" => false);
$arHeaders[] = array("id" => "SESSION_TIME", "content" => GetMessage("STAT_SESSION_PERIOD"), "sort" => "", "default" => true);
$arHeaders[] = array("id" => "IP_LAST", "content" => GetMessage("STAT_IP"), "sort" => "s_ip", "default" => true);
$arHeaders[] = array("id" => "HITS", "content" => GetMessage("STAT_NUM_PAGES"), "sort" => "s_hits", "default" => true, "align" => "right");
$arHeaders[] = array("id" => "C_EVENTS", "content" => GetMessage("STAT_EVENTS"), "sort" => "s_events", "default" => true, "align" => "right");
$arHeaders[] = array("id" => "ADV_ID", "content" => GetMessage("STAT_ADV"), "sort" => "s_adv_id", "default" => true);
$arHeaders[] = array("id" => "URL_TO", "content" => GetMessage("STAT_FIRST_PAGE"), "sort" => "s_url_to", "default" => false);
$arHeaders[] = array("id" => "URL_LAST", "content" => GetMessage("STAT_LAST_PAGE"), "sort" => "s_url_last", "default" => false);