All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
SecurityViewUtil Class Reference
Inheritance diagram for SecurityViewUtil:
ModulePermissionsViewUtil PoliciesEditViewUtil PoliciesEffectiveDetailsViewUtil RightsDetailsViewUtil ModulePermissionsActualDetailsViewUtil ModulePermissionsEditViewUtil RightsEditViewUtil RightsEffectiveDetailsViewUtil

Static Public Member Functions

static resolveMetadataFromData ($data, $metadata)
 

Static Protected Member Functions

static makeMetadataFromData ($data)
 
static sortCategoryItems ($categoryItems)
 
static getRowByElement ($element, $rowTitle=null)
 
static getElementInformation ($moduleClassName, $item, $itemInformation)
 

Detailed Description

Helper class to dynamically generate view metadata based on data array. Used by Policies, Rights, and Permissions Views

Definition at line 42 of file SecurityViewUtil.php.

Member Function Documentation

static resolveMetadataFromData (   $data,
  $metadata 
)
static

resolves the view metadata based on dynamic information from the data array and the metadata passed in which. The metadata passed in should not have any global panel information as this part of the array is being generated here.

Returns
array - final view metadata.

Definition at line 51 of file SecurityViewUtil.php.

static makeMetadataFromData (   $data)
staticprotected

Makes view metadata based on data array

Returns
array - view metadata

Definition at line 62 of file SecurityViewUtil.php.

static getElementInformation (   $moduleClassName,
  $item,
  $itemInformation 
)
staticprotected

This is not abstract because PHP will not allow an abstract protected static function. Override this function as necessary

Definition at line 127 of file SecurityViewUtil.php.


The documentation for this class was generated from the following file:
Generated on Wed Apr 1 2020 07:11:19