All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions | Static Protected Member Functions
DerivedUserStatusElement Class Reference
Inheritance diagram for DerivedUserStatusElement:
Element DerivedElementInterface ReadOnlyDerivedUserStatusElement

Static Public Member Functions

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

Protected Member Functions

 renderControlEditable ()
 
 renderControlNonEditable ()
 
 renderError ()
 
 assertModelIsValid ()
 
 getAttributeName ()
 
 renderLabel ()
 
 getFormattedAttributeLabel ()
 
 getUserModel ()
 
- 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 ()
 

Static Protected Member Functions

static renderTooltipContent ()
 

Additional Inherited Members

- 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>'
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

Detailed Description

Pass null for the attribute since the expected attribute name is UserStatus and the userStatus object is created on the fly based on the user's explicit rights.

Definition at line 41 of file DerivedUserStatusElement.php.

Member Function Documentation

renderControlEditable ( )
protected

Renders the editable dropdown content.

Returns
A string containing the element's content.

Definition at line 53 of file DerivedUserStatusElement.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 117 of file DerivedUserStatusElement.php.


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