AuditEventsListControllerUtil Class Reference

Static Public Member Functions

static renderList (CController $controller, $dataProvider)
static makeModalSearchAttributeDataByAuditedModel ($model)
static makeDataProviderBySearchAttributeData ($searchAttributeData)

Detailed Description

Helper class to render a list of audit events called from a model controller.

Definition at line 40 of file AuditEventsListControllerUtil.php.


Member Function Documentation

static renderList ( CController $  controller,
dataProvider 
) [static]
Returns:
rendered content from view as string.

Definition at line 45 of file AuditEventsListControllerUtil.php.

static makeModalSearchAttributeDataByAuditedModel ( model  )  [static]

Creates the appropriate filtering of audit events by the specified model.

Parameters:
object $model AuditEvent
Returns:
array $searchAttributeData

Definition at line 64 of file AuditEventsListControllerUtil.php.

static makeDataProviderBySearchAttributeData ( searchAttributeData  )  [static]

Given an array of searchAttributeData, a RedBeanModelDataProvider is created and returned.

Parameters:
array $searchAttributeData
Returns:
object $RedBeanModelDataProvider

Definition at line 94 of file AuditEventsListControllerUtil.php.


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