ImportMappingRuleDefaultMultiSelectDropDownFormElement Class Reference

Inheritance diagram for ImportMappingRuleDefaultMultiSelectDropDownFormElement:
ImportMappingRuleDefaultDropDownFormElement ImportMappingRuleStaticDropDownFormElement StaticDropDownFormElement StaticDropDownElement DropDownElement Element

Public Member Functions

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

Protected Member Functions

 renderControlEditable ()

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.

Constructor & Destructor Documentation

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

Constructs the element specifying the model and attribute. In the case of needing to show editable information, a form is also provided.

$form Optional. If supplied an editable element will be rendered.
$params Can have additional parameters for use. 'wide' true or false is an example parameter

Reimplemented from ImportMappingRuleDefaultDropDownFormElement.

Definition at line 45 of file ImportMappingRuleDefaultMultiSelectDropDownFormElement.php.

Member Function Documentation

renderControlEditable (  )  [protected]

Renders the editable dropdown content.

A string containing the element's content.

Reimplemented from StaticDropDownElement.

Definition at line 55 of file ImportMappingRuleDefaultMultiSelectDropDownFormElement.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Aug 19 07:10:26 2017