Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions
DerivedExplicitReadWriteModelPermissionsElement Class Reference
Inheritance diagram for DerivedExplicitReadWriteModelPermissionsElement:
ExplicitReadWriteModelPermissionsElement DerivedElementInterface Element CampaignDerivedExplicitReadWriteModelPermissionsElement

Static Public Member Functions

static getModelAttributeNames ()
 
static getDisplayName ()
 
static resolveUserPermissionConfigurationToPermissionType ($selectedType)
 
- Static Public Member Functions inherited from ExplicitReadWriteModelPermissionsElement
static getSelectableGroupsData ()
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 

Protected Member Functions

 assertModelIsValid ()
 
 getExplicitReadWriteModelPermissions ()
 
 getAttributeName ()
 
 renderLabel ()
 
 getFormattedAttributeLabel ()
 
 resolveSelectedType ()
 
 resolveSelectedGroup ()
 
 isModelCreateAction ()
 
- Protected Member Functions inherited from ExplicitReadWriteModelPermissionsElement
 getExplicitReadWriteModelPermissions ()
 
 getAttributeName ()
 
 renderControlEditable ()
 
 assertModelIsValid ()
 
 renderControlNonEditable ()
 
 renderLabel ()
 
 renderError ()
 
 resolveData ()
 
 resolveSelectedType ()
 
 resolveSelectedGroup ()
 
 renderSelectableGroupsContent ()
 
 resolveAttributeNameAndRelatedAttributes ()
 
 resolveSelectableAttributeNameAndRelatedAttributes ()
 
 getSelectableAttributeName ()
 
 findFirstGroupPermitable ()
 
- Protected Member Functions inherited from Element
 renderLabel ()
 
 resolveIdForLabel ()
 
 getFormattedAttributeLabel ()
 
 resolveNonActiveFormFormattedLabel ($label)
 
 renderError ()
 
 renderScopedErrorId ($inputNameIdPrefix, $attribute)
 
 renderEditable ()
 
 renderNonEditable ()
 
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 getColumnSpan ()
 
 getDisabledValue ()
 
 getHtmlOptions ()
 
 resolveContentTemplate ($template, $data)
 
 getEditableInputId ($attributeName=null, $relationAttributeName=null)
 
 getEditableInputName ($attributeName=null, $relationAttributeName=null)
 
 resolveInputPrefix ()
 
 resolveInputIdPrefix ()
 
 resolveInputNamePrefix ()
 
 getListViewGridId ()
 

Additional Inherited Members

- Public Member Functions inherited from ExplicitReadWriteModelPermissionsElement
 getEditableHtmlOptions ()
 
 resolveModelPermissionsArray ()
 
- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 
- Data Fields inherited from Element
 $params
 
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
 
- Static Protected Member Functions inherited from ExplicitReadWriteModelPermissionsElement
static getPermissionTypes ()
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

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

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

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

Definition at line 130 of file DerivedExplicitReadWriteModelPermissionsElement.php.

static resolveUserPermissionConfigurationToPermissionType (   $selectedType)
static

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

Parameters
$selectedTypeSelected 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:
Generated on Wed Oct 28 2020 07:10:44
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.