ImportWizardMappingExtraColumnView Class Reference

Inheritance diagram for ImportWizardMappingExtraColumnView:
View

Public Member Functions

 __construct (ImportWizardForm $model, $mappingDataMetadata, $mappableAttributeIndicesAndDerivedTypes)
 render ()

Protected Member Functions

 renderContent ()
 renderScripts ()
 resolveMappingDataMetadataWithRenderedElements ($mappingFormLayoutUtil, $mappingDataMetadata, $firstRowIsHeaderRow, $importRulesType, $id)

Protected Attributes

 $model
 $mappingDataMetadata

Detailed Description

Class for rendering an extraColumn type row. This is rendered when a user in the user interface on the import mapping view, clicks 'Add Field'.

Definition at line 41 of file ImportWizardMappingExtraColumnView.php.


Constructor & Destructor Documentation

__construct ( ImportWizardForm model,
mappingDataMetadata,
mappableAttributeIndicesAndDerivedTypes 
)
Parameters:
ImportWizardForm $model
array $mappingDataMetadata
array $mappableAttributeIndicesAndDerivedTypes

Definition at line 52 of file ImportWizardMappingExtraColumnView.php.


Member Function Documentation

render (  ) 

Renders a div element with a id or class attribute set to the type of the view, (depending on the value returned by isUniqueToAPage()), and containing the content of any matching template found in the themes/<themename>/ directory if it exists, marked by begin/end comments, and the content of the view rendered by renderContent(). All are correctly indented by indent().

If the template does not exist in the active theme folder, it will attempt to locate the file in the themes/default/templates folder and include it if it exists.

Reimplemented from View.

Definition at line 62 of file ImportWizardMappingExtraColumnView.php.

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 67 of file ImportWizardMappingExtraColumnView.php.

renderScripts (  )  [protected]

Renders special scripts required for displaying the view. Renders scripts for dropdown styling and interaction.

Definition at line 88 of file ImportWizardMappingExtraColumnView.php.

resolveMappingDataMetadataWithRenderedElements ( mappingFormLayoutUtil,
mappingDataMetadata,
firstRowIsHeaderRow,
importRulesType,
id 
) [protected]
Parameters:
MappingFormLayoutUtil $mappingFormLayoutUtil
array $mappingDataMetadata
$firstRowIsHeaderRow 
$importRulesType 
int $id
Returns:
array

Definition at line 101 of file ImportWizardMappingExtraColumnView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 27 07:10:25 2017