All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
ImportMappingRuleDefaultMultiSelectDropDownFormElement Class Reference
Inheritance diagram for ImportMappingRuleDefaultMultiSelectDropDownFormElement:
ImportMappingRuleDefaultDropDownFormElement ImportMappingRuleStaticDropDownFormElement StaticDropDownFormElement StaticDropDownElement DropDownElement Element

Public Member Functions

 __construct ($model, $attribute, $form=null, array $params=array())
 
- Public Member Functions inherited from ImportMappingRuleDefaultDropDownFormElement
 __construct ($model, $attribute, $form=null, array $params=array())
 
- Public Member Functions inherited from ImportMappingRuleStaticDropDownFormElement
 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 ()
 

Protected Member Functions

 renderControlEditable ()
 
- Protected Member Functions inherited from ImportMappingRuleDefaultDropDownFormElement
 getAddBlank ()
 
 getDropDownArray ()
 
- Protected Member Functions inherited from ImportMappingRuleStaticDropDownFormElement
 renderControlNonEditable ()
 
- Protected Member Functions inherited from StaticDropDownFormElement
 getNameForSelectInput ()
 
- Protected Member Functions inherited from StaticDropDownElement
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 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

- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 
- 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

Element used by the import mapping process. This is similar to the StaticDropDownElement in how the input id/name pairings are constructed. The $this->model->$this->attribute is not a CustomField model. The CustomField->data is an attribute on the model itself as the 'data' attribute. This class contains the necessary overrides to support this. This class specifically supports the multiSelect dropdown.

Definition at line 43 of file ImportMappingRuleDefaultMultiSelectDropDownFormElement.php.

Member Function Documentation

renderControlEditable ( )
protected

Renders the editable dropdown content.

Returns
A string containing the element's content.

Definition at line 55 of file ImportMappingRuleDefaultMultiSelectDropDownFormElement.php.


The documentation for this class was generated from the following file:
Generated on Wed Jun 3 2020 07:10:49