Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

AuditUtil Class Reference

Static Public Member Functions

static throwNotSupportedExceptionIfNotCalledFromAnItem ()
static saveOriginalAttributeValue ($auditableModel, $attributeName, $value)
static logAuditEventsListForChangedAttributeValues (Item $item, array $attributeNames=array(), RedBeanModel $ownedModel=null)
static stringifyValue ($attributeModel, $attributeName, $value, $format= 'long')
static clearRelatedModelsOriginalAttributeValues (Item $item)

Static Protected Member Functions

static getNoAuditAttributeNames ($auditableModel)

Detailed Description

Provides functionality needed by Item, OwnedAuditableModel, and OwnedAuditableCustomField, (which do not have a common inheritance hierarchy), for saving old values on __set and writing audit entries.

Definition at line 42 of file AuditUtil.php.


Member Function Documentation

static saveOriginalAttributeValue ( auditableModel,
attributeName,
value 
) [static]
Parameters:
object $auditableModel
$attributeName 
$value 

Definition at line 66 of file AuditUtil.php.

static logAuditEventsListForChangedAttributeValues ( Item item,
array $  attributeNames = array(),
RedBeanModel ownedModel = null 
) [static]
Parameters:
Item $item
array $attributeNames
RedBeanModel $ownedModel

Definition at line 102 of file AuditUtil.php.

static stringifyValue ( attributeModel,
attributeName,
value,
format = 'long' 
) [static]
Parameters:
$attributeModel 
$attributeName 
$value 
string $format
Returns:
string

Definition at line 195 of file AuditUtil.php.

static clearRelatedModelsOriginalAttributeValues ( Item item  )  [static]
Parameters:
Item $item

Definition at line 250 of file AuditUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:44 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8