UsersByModelModalListControllerUtil Class Reference

Static Public Member Functions

static renderList (CController $controller, $dataProvider, $action)
static makeModalSearchAttributeDataByModel ($model, $attributeName)
static makeDataProviderBySearchAttributeData ($searchAttributeData)

Detailed Description

Helper class to render a list of users associated to any model's instance

Definition at line 40 of file UsersByModelModalListControllerUtil.php.


Member Function Documentation

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

Definition at line 45 of file UsersByModelModalListControllerUtil.php.

static makeModalSearchAttributeDataByModel ( model,
attributeName 
) [static]

Creates the appropriate filtering of users by the specified model.

Parameters:
object $model
Returns:
array $searchAttributeData

Definition at line 67 of file UsersByModelModalListControllerUtil.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 104 of file UsersByModelModalListControllerUtil.php.


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