All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions
ContactStateDropDownElement Class Reference
Inheritance diagram for ContactStateDropDownElement:
DropDownElement DerivedElementInterface Element AllContactStatesDropDownForContactWebFormElement LeadStateDropDownElement

Public Member Functions

 __construct ($model, $attribute, $form=null, array $params=array())
 getIdForSelectInput ()
- Public Member Functions inherited from DropDownElement
 getIdForSelectInput ()
 getEditableNameIds ()
- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 render ()
 getEditableNameIds ()
 getAttribute ()
 renderAsControlNonEditable ()

Static Public Member Functions

static getDisplayName ()
static getModelAttributeNames ()
- 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 ()
 resolveAttributeName ()
 getDropDownArray ()
 getNameForSelectInput ()
 renderError ()
- Protected Member Functions inherited from DropDownElement
 renderControlEditable ()
 resolveIdForLabel ()
 renderControlNonEditable ()
 convertDropDownModelsToArrayByIdName ($dropDownModels)
 getAddBlank ()
 getNameForSelectInput ()
 getEditableHtmlOptions ()
 getDropDownArray ()
 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 ()

Additional Inherited Members

- Data Fields inherited from Element
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
- Protected Attributes inherited from Element

Detailed Description

Definition at line 37 of file ContactStateDropDownElement.php.

Constructor & Destructor Documentation

__construct (   $model,
  $form = null,
array  $params = array() 

Override so we can force attribute to be set at 'state' since this is the correct attributeName for anything using this derived element

Definition at line 68 of file ContactStateDropDownElement.php.

Member Function Documentation

renderControlEditable ( )

Override to utilize 'id' as the attribute not 'value'

Definition at line 42 of file ContactStateDropDownElement.php.

renderControlNonEditable ( )

Renders the noneditable dropdown content. Takes the model attribute value and converts it into the proper display value based on the corresponding dropdown display label.

A string containing the element's content.

Definition at line 58 of file ContactStateDropDownElement.php.

static getModelAttributeNames ( )

Get the attributeNames of attributes used in the derived element.

array of model attributeNames used.

Implements DerivedElementInterface.

Definition at line 95 of file ContactStateDropDownElement.php.

renderError ( )

Generate the error content. Used by editable content

error content

Definition at line 116 of file ContactStateDropDownElement.php.

The documentation for this class was generated from the following file:
Generated on Sun May 31 2020 07:10:43