DerivedExplicitReadWriteModelPermissionsElement Class Reference

Inheritance diagram for DerivedExplicitReadWriteModelPermissionsElement:
ExplicitReadWriteModelPermissionsElement DerivedElementInterface Element

Static Public Member Functions

static getModelAttributeNames ()
static getDisplayName ()
static resolveUserPermissionConfigurationToPermissionType ($selectedType)

Protected Member Functions

 assertModelIsValid ()
 getExplicitReadWriteModelPermissions ()
 getAttributeName ()
 renderLabel ()
 getFormattedAttributeLabel ()
 resolveSelectedType ()
 resolveSelectedGroup ()
 isModelCreateAction ()

Detailed Description

Derived version of

See also:
ExplicitReadWriteModelPermissionsElement. Pass null for the attribute since the expected attribute name is explicitReadWriteModelPermissions and the ExplicitReadWriteModelPermissions object is created on the fly based on the SecurableItem model data.

Definition at line 42 of file DerivedExplicitReadWriteModelPermissionsElement.php.


Member Function Documentation

renderLabel (  )  [protected]

Override to provide the no form version.

Returns:
A string containing the element's label

Reimplemented from ExplicitReadWriteModelPermissionsElement.

Definition at line 78 of file DerivedExplicitReadWriteModelPermissionsElement.php.

static getModelAttributeNames (  )  [static]

Method required by interface. Returns empty array since there are no real model atttribute names for this element.

Implements DerivedElementInterface.

Definition at line 92 of file DerivedExplicitReadWriteModelPermissionsElement.php.

resolveSelectedType (  )  [protected]

Based on the model's attribute value being a explicitReadWriteModelPermissions object, resolves the selected type value.

Returns:
string

Reimplemented from ExplicitReadWriteModelPermissionsElement.

Definition at line 107 of file DerivedExplicitReadWriteModelPermissionsElement.php.

resolveSelectedGroup (  )  [protected]

Based on the model's attribute value being a explicitReadWriteModelPermissions object, resolves the selected group value if available.

Returns:
string

Reimplemented from ExplicitReadWriteModelPermissionsElement.

Definition at line 130 of file DerivedExplicitReadWriteModelPermissionsElement.php.

static resolveUserPermissionConfigurationToPermissionType ( selectedType  )  [static]

Converts User's configuration of selected type to ExplicitReadWriteModelPermissionsElement's compatible

Parameters:
$selectedType Selected Type index from User's Configuration
Returns:
$selectedTypeIndex Selected Type Index converted to ExplicitReadWriteModelPermissionsElement::getPermissionTypes() compatible format

Definition at line 152 of file DerivedExplicitReadWriteModelPermissionsElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue May 23 07:10:23 2017