4 # FILE: SPT--SPTEventLog.php
6 # Part of the Collection Workflow Integration System (CWIS)
7 # Copyright 2007-2013 Edward Almasy and Internet Scout Research Group
8 # http://scout.wisc.edu/cwis/
13 # ---- PUBLIC INTERFACE --------------------------------------------------
33 # create database for use by our parent
36 # invoke parent constructor
38 $UserId = $G_User->IsLoggedIn() ? $G_User->Id() : -1;
42 # limit events to specific user type
45 # set search conditions based on user type
49 $this->ExcludeUsersWithPrivileges(
"<", PRIV_POSTTOFORUMS);
50 $this->ExcludeUsersWithPrivileges(
">", PRIV_USERDISABLED);
59 # ---- PRIVATE INTERFACE -------------------------------------------------
const SPTUSERTYPE_PRIVILEGED
const SPTEVENT_OAIHARVEST
Class for storing and retrieving event information from database.
SQL database abstraction object with smart query caching.
const SPTEVENT_ADVANCEDSEARCH
const SPTEVENT_NEWACCOUNTCONFIRM
const SPTUSERTYPE_NONPRIVILEGED
const SPTEVENT_NEWACCOUNTSIGNUP
LimitFindToUserType($UserType)
const SPTEVENT_RESOURCELINKCLICK
const SPTUSERTYPE_ANONYMOUS
EventLog($DB, $UserId=-1, $LoggingEnabled=TRUE)
Object constructor.