Метод | Описание | |
---|---|---|
__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 ( ) |
Метод | Описание | |
---|---|---|
getCustomVariablePrettyKey ( $key ) | ||
sortByServerTime ( $a, $b ) |
public static cleanVisitorDetails ( array $visitorDetails ) : array | ||
$visitorDetails | array | |
Результат | array |
public static enrichVisitorArrayWithActions ( $visitorDetailsArray, $actionsLimit, $timezone ) : array | ||
$visitorDetailsArray | ||
$actionsLimit | ||
$timezone | ||
Результат | array |
public static flattenVisitorDetailsArray ( $visitorDetailsArray ) : array | ||
$visitorDetailsArray | ||
Результат | array |