4 # FILE: SPT--SPTEventLog.php 6 # Part of the Collection Workflow Integration System (CWIS) 7 # Copyright 2007-2017 Edward Almasy and Internet Scout Research Group 8 # http://scout.wisc.edu/cwis/ 14 # ---- PUBLIC INTERFACE -------------------------------------------------- 36 # create database for use by our parent 39 # invoke parent constructor 41 $UserId = $G_User->IsLoggedIn() ? $G_User->Id() : -1;
42 parent::__construct($DB, $UserId);
51 # set search conditions based on user type 55 $this->ExcludeUsersWithPrivileges(
"<", PRIV_POSTTOFORUMS);
56 $this->ExcludeUsersWithPrivileges(
">", PRIV_USERDISABLED);
65 # ---- 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
__construct()
Object constructor.
const SPTEVENT_NEWACCOUNTCONFIRM
const SPTUSERTYPE_NONPRIVILEGED
const SPTEVENT_NEWACCOUNTSIGNUP
LimitFindToUserType($UserType)
Limit events to specific user type.
const SPTEVENT_RESOURCELINKCLICK
const SPTUSERTYPE_ANONYMOUS