All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions | Protected Attributes
CalculatedNumberElement Class Reference
Inheritance diagram for CalculatedNumberElement:
Element

Static Public Member Functions

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

Protected Member Functions

 renderControlEditable ()
 
 renderNonEditable ()
 
 renderControlNonEditable ()
 
 renderLabel ()
 
 renderError ()
 
- 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 ()
 

Protected Attributes

 $calculatedDerivedAttributeMetadata
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

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>'
 

Detailed Description

Helper class for displaying a calculated number in the user interface.

Definition at line 40 of file CalculatedNumberElement.php.

Member Function Documentation

renderControlEditable ( )
protected

Calculated Numbers are always read-only so the editable control is not supported. (non-PHPdoc)

See Also
Element::renderControlEditable()

Definition at line 53 of file CalculatedNumberElement.php.

renderNonEditable ( )
protected

(non-PHPdoc)

See Also
Element::renderNonEditable()

Definition at line 62 of file CalculatedNumberElement.php.

renderControlNonEditable ( )
protected

(non-PHPdoc)

See Also
Element::renderControlNonEditable()

Definition at line 76 of file CalculatedNumberElement.php.

renderLabel ( )
protected

(non-PHPdoc)

See Also
Element::renderLabel()

Definition at line 86 of file CalculatedNumberElement.php.

renderError ( )
protected

(non-PHPdoc)

See Also
Element::renderError()

Definition at line 95 of file CalculatedNumberElement.php.

static isReadOnly ( )
static

Calculated number is always read only.

Returns
true

Definition at line 104 of file CalculatedNumberElement.php.


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