ImportMappingRuleDefaultDropDownFormElement Class Reference

Inheritance diagram for ImportMappingRuleDefaultDropDownFormElement:
ImportMappingRuleStaticDropDownFormElement StaticDropDownFormElement StaticDropDownElement DropDownElement Element ImportMappingRuleDefaultMultiSelectDropDownFormElement

Public Member Functions

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

Protected Member Functions

 getAddBlank ()
 getDropDownArray ()

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.

Definition at line 43 of file ImportMappingRuleDefaultDropDownFormElement.php.


Constructor & Destructor Documentation

__construct ( model,
attribute,
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.

Parameters:
$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 Element.

Reimplemented in ImportMappingRuleDefaultMultiSelectDropDownFormElement.

Definition at line 45 of file ImportMappingRuleDefaultDropDownFormElement.php.


Member Function Documentation

getAddBlank (  )  [protected]

Override to always return true since a blank should always be here.

See also:
DropDownElement::getAddBlank()

Reimplemented from DropDownElement.

Definition at line 55 of file ImportMappingRuleDefaultDropDownFormElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 30 07:10:26 2017