Method | Description | |
---|---|---|
__construct ( $visitorRawData ) | ||
cleanVisitorDetails ( array $visitorDetails ) : array | Removes fields that are not meant to be displayed (md5 config hash) Or that the user should only access if he is Super User or admin (cookie, IP) | |
enrichVisitorArrayWithActions ( $visitorDetailsArray, $actionsLimit, $timezone ) : array | ||
flattenVisitorDetailsArray ( $visitorDetailsArray ) : array | The &flat=1 feature is used by API.getSuggestedValuesForSegment | |
getAllVisitorDetails ( ) | ||
getDateTimeLastAction ( ) | ||
getIdSite ( ) | ||
getIdVisit ( ) | ||
getIp ( ) | ||
getServerDate ( ) | ||
getTimestampLastAction ( ) | ||
getVisitServerHour ( ) | ||
getVisitorId ( ) |
Method | Description | |
---|---|---|
getCustomVariablePrettyKey ( $key ) | ||
sortByServerTime ( $a, $b ) |
public static cleanVisitorDetails ( array $visitorDetails ) : array | ||
$visitorDetails | array | |
return | array |
public static enrichVisitorArrayWithActions ( $visitorDetailsArray, $actionsLimit, $timezone ) : array | ||
$visitorDetailsArray | ||
$actionsLimit | ||
$timezone | ||
return | array |
public static flattenVisitorDetailsArray ( $visitorDetailsArray ) : array | ||
$visitorDetailsArray | ||
return | array |