All Data Structures Functions Variables Pages
Static Public Member Functions
FormLayoutSecurityUtil Class Reference

Static Public Member Functions

static resolveElementForEditableRender ($model, &$elementInformation, $user)
 
static resolveElementForNonEditableRender ($model, &$elementInformation, $user)
 

Detailed Description

Helper class to handle form layout security

Definition at line 40 of file FormLayoutSecurityUtil.php.

Member Function Documentation

static resolveElementForEditableRender (   $model,
$elementInformation,
  $user 
)
static

For now, this determines if there is a subclass of ModelElement and makes the appropriate adjustments based on the user's access to this element and its related attributes. This is for the Editable render.

Returns
null. Modifies $elementInformation by reference.

Definition at line 50 of file FormLayoutSecurityUtil.php.

static resolveElementForNonEditableRender (   $model,
$elementInformation,
  $user 
)
static

For now, this determines if there is a subclass of ModelElement and makes the appropriate adjustments based on the user's access to this element and its related attributes. This is for the NonEditable render.

Returns
null. Modifies $elementInformation by reference.

Definition at line 106 of file FormLayoutSecurityUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 28 2020 07:10:30