ProjectAuditEvent Class Reference

Inheritance diagram for ProjectAuditEvent:
RedBeanModel BeanModel ObservableComponent

Static Public Member Functions

static logAuditEvent ($eventName, Project $project, $data=null, User $user=null)
static getDefaultMetadata ()

Data Fields

const PROJECT_CREATED = 'Project Created'
const TASK_ADDED = 'Task Added'
const COMMENT_ADDED = 'Comment Added'
const TASK_STATUS_CHANGED = 'Task Status Changed'
const PROJECT_ARCHIVED = 'Project Archived'
const CHECKLIST_ITEM_ADDED = 'Check List Item Added'

Static Public Attributes

static $isTableOptimized = false

Static Protected Member Functions

static translatedAttributeLabels ($language)

Detailed Description

Definition at line 37 of file ProjectAuditEvent.php.


Member Function Documentation

static logAuditEvent ( eventName,
Project project,
data = null,
User user = null 
) [static]

Logs audit event

Parameters:
string $eventName
array $data
Project $project
User $user
Returns:
boolean

Definition at line 61 of file ProjectAuditEvent.php.

static translatedAttributeLabels ( language  )  [static, protected]

Transalate attribute labels

Parameters:
string $language
Returns:
array

Reimplemented from BeanModel.

Definition at line 95 of file ProjectAuditEvent.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from RedBeanModel.

Definition at line 107 of file ProjectAuditEvent.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:28 2017