AuditEvent Class Reference

Inheritance diagram for AuditEvent:
RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()

Static Public Member Functions

static getSinceTimestamp ($timestamp)
static getSinceDate ($date)
static getSinceDateTime ($dateTime)
static getTailEvents ($count)
static getTailDistinctEventsByEventName ($eventName, User $user, $count)
static logAuditEvent ($moduleName, $eventName, $data=null, RedBeanModel $model=null, User $user=null)
static getDefaultMetadata ()
static deleteAllByModel (RedBeanModel $model)

Static Public Attributes

static $isTableOptimized = false

Static Protected Member Functions

static translatedAttributeLabels ($language)

Detailed Description

Definition at line 37 of file AuditEvent.php.


Member Function Documentation

__toString (  ) 

Returns the displayable string for the class. Should be overridden in any model that can provide a meaningful string representation of itself.

Returns:
A string.

Reimplemented from RedBeanModel.

Definition at line 148 of file AuditEvent.php.

static getDefaultMetadata (  )  [static]

Returns the default meta data for the class. It must be appended to the meta data from the parent model, if any.

Reimplemented from RedBeanModel.

Definition at line 172 of file AuditEvent.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 27 07:10:22 2017