Functions

Get a results table showing security alerts matching WHERE constraints.

find_security_alerts(\?array $where) : array
package securitylogging

Parameters

$where

\?array

WHERE constraints (null: none)

Returns

arrayA pair: The results table, The number

Get a results table showing info about the member's travels around the site.

get_stats_track(\MEMBER $member, \IP $ip, integer $start = 0, integer $max = 50, \?ID_TEXT $sortable = 'date_and_time', \?ID_TEXT $sort_order = 'DESC') : \Tempcode
package securitylogging
set ASC DESC

Parameters

$member

\MEMBER

The member we are getting travel stats for

$ip

\IP

The IP address of the member

$start

integer

The current position in the browser

$max

integer

The maximum number of rows to show per browser page

$sortable

\?ID_TEXT

The current sortable (null: none)

$sort_order

\?ID_TEXT

The order we are sorting in (null: none)

Returns

\TempcodeThe results table

Get information about the specified member.

lookup_member_page(mixed $member, \?string $name, \?AUTO_LINK $id, \?string $ip) : array
package securitylogging

Parameters

$member

mixed

The member for whom we are getting the page

$name

\?string

The member's name (by reference) (null: unknown)

$id

\?AUTO_LINK

The member's ID (by reference) (null: unknown)

$ip

\?string

The member's IP (by reference) (null: unknown)

Returns

arrayThe member's stats rows