If this flag contains "true" on return, the resulting list is filtered.
Structure of the returned record
Array
(
[ID] => the event ID
[EVENT3] => the event auxiliary parameter event3
[TYPE_ID] => the event type ID
[DATE_ENTER] => the time the event was created
[EVENT1] => event1 event type identifier
[EVENT2] => event2 event type identifier
[NAME] => the event type name
[EVENT] => event1 / event2, the event type name
(if specified)
[DESCRIPTION] => event type description
[ADV_ID] => the adv. campaign ID
[ADV_BACK] => flag: direct hit (N) or return (Y)
under an advertising campaign
[COUNTRY_ID] => the visitor country ID
[COUNTRY_NAME] => name of the visitor country
[SESSION_ID] => the session ID
[GUEST_ID] => the visitor ID
[HIT_ID] => the hit ID
[REFERER_URL] => the referring page
[REFERER_SITE_ID] => the referring page site ID
[URL] => the page on which the event occurred
[SITE_ID] => the event site ID
[REDIRECT_URL] => address of the redirect page
(after the event had been registered)
[MONEY] => amount of money
[CHARGEBACK] => Y - amount of money is negative;
N - amount of money is positive
[CURRENCY] => three-character identifier of the amount currency
)
<?
// select all existing events of user #1025
$arFilter = array(
"GUEST_ID" => "1025"
);
// obtain the list of records
$rs = CStatEvent::GetList(
($by = "s_id"),
($order = "desc"),
$arFilter,
$is_filtered
);
// print all records
while ($ar = $rs->Fetch())
{
echo "<pre>"; print_r($ar); echo "</pre>";
}
?>