ImportWizardMappingView Class Reference

Inheritance diagram for ImportWizardMappingView:
ImportWizardView EditView DetailsView ModelView ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, ImportWizardForm $model, $sampleColumnPagerContent, $mappingDataMetadata, $mappingDataMappingRuleFormsAndElementTypes, $mappableAttributeIndicesAndDerivedTypes, $requiredAttributesLabelsData, $title)

Protected Member Functions

 renderFormLayout ($form=null)
 renderRequiredAttributesLabelsDataContent ()
 getFormLayoutHeaderColumnsContent ()
 resolveMappingDataMetadataWithRenderedElements ($mappingFormLayoutUtil, $mappingDataMetadata, $firstRowIsHeaderRow, $importRulesType, $id)
 renderAddExtraColumnContent ($columnCount)
 resolveMappingRuleFormsAndElementTypesByColumn ($columnName)
 renderPreviousPageLinkContent ()
 renderPreviousPageLinkLabel ()
 renderNextPageLinkLabel ()

Protected Attributes

 $sampleColumnPagerContent
 $mappingDataMetadata
 $mappableAttributeIndicesAndDerivedTypes
 $requiredAttributesLabelsData

Detailed Description

View for mapping import columns to zurmo attributes. Also has user interface to fill in rules such as attribute defaults and other attribute specific rules.

Definition at line 41 of file ImportWizardMappingView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
ImportWizardForm model,
sampleColumnPagerContent,
mappingDataMetadata,
mappingDataMappingRuleFormsAndElementTypes,
mappableAttributeIndicesAndDerivedTypes,
requiredAttributesLabelsData,
title 
)
Parameters:
string $controllerId
string $moduleId
ImportWizardForm $model
null $sampleColumnPagerContent
array $mappingDataMetadata
array $mappingDataMappingRuleFormsAndElementTypes
array $mappableAttributeIndicesAndDerivedTypes
array $requiredAttributesLabelsData
$title 

Definition at line 67 of file ImportWizardMappingView.php.


Member Function Documentation

renderFormLayout ( form = null  )  [protected]

Override to produce a form layout that does not follow the standard form layout for EditView.

Reimplemented from DetailsView.

Definition at line 99 of file ImportWizardMappingView.php.

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

Definition at line 191 of file ImportWizardMappingView.php.

renderAddExtraColumnContent ( columnCount  )  [protected]
Parameters:
int $columnCount
Returns:
string

Definition at line 235 of file ImportWizardMappingView.php.

resolveMappingRuleFormsAndElementTypesByColumn ( columnName  )  [protected]
Parameters:
string $columnName
Returns:
array

Definition at line 267 of file ImportWizardMappingView.php.

renderPreviousPageLinkContent (  )  [protected]

If the import rules model is not a SecurableItem, then the previous step should go to step 2 otherwise go to step 3.

See also:
ImportWizardView::renderPreviousPageLinkContent()

Reimplemented from ImportWizardView.

Definition at line 282 of file ImportWizardMappingView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Oct 23 07:10:26 2017