All Data Structures Functions Variables Pages
Static Public Member Functions
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$modelAuditEvent
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 89 of file AuditEventsListControllerUtil.php.


The documentation for this class was generated from the following file:
Generated on Thu Jan 23 2020 07:10:26