All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
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)
 
- Public Member Functions inherited from ImportWizardView
 __construct ($controllerId, $moduleId, ImportWizardForm $model, $title=null)
 
 isUniqueToAPage ()
 
- Public Member Functions inherited from DetailsView
 __construct ($controllerId, $moduleId, $model, $title=null)
 
 getTitle ()
 
- Public Member Functions inherited from ModelView
 getModelClassName ()
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

Protected Member Functions

 renderFormLayout ($form=null)
 
 renderRequiredAttributesLabelsDataContent ()
 
 getFormLayoutHeaderColumnsContent ()
 
 resolveMappingDataMetadataWithRenderedElements ($mappingFormLayoutUtil, $mappingDataMetadata, $firstRowIsHeaderRow, $importRulesType, $id)
 
 renderAddExtraColumnContent ($columnCount)
 
 resolveMappingRuleFormsAndElementTypesByColumn ($columnName)
 
 renderPreviousPageLinkContent ()
 
 renderPreviousPageLinkLabel ()
 
 renderNextPageLinkLabel ()
 
- Protected Member Functions inherited from ImportWizardView
 renderActionElementBar ($renderedInForm)
 
 renderActionLinksContent ()
 
 renderPreviousPageLinkContent ()
 
 getPreviousPageLinkContentByControllerAction ($action)
 
 renderPreviousPageLinkLabel ()
 
 renderNextPageLinkContent ()
 
 renderNextPageLinkLabel ()
 
- Protected Member Functions inherited from EditView
 renderOperationDescriptionContent ()
 
 renderContent ()
 
 renderRightSideContent ($form=null)
 
 renderRightSideFormLayoutForEdit ($form)
 
 renderAfterFormLayout ($form)
 
 renderModalContainer ()
 
 resolveActiveFormAjaxValidationOptions ()
 
 shouldDisplayCell ($detailViewOnly)
 
 resolveFormHtmlOptions ()
 
- Protected Member Functions inherited from DetailsView
 renderContent ()
 
 resolveLeftContentForSlidingPanels ($content)
 
 resolveAndRenderActionElementMenu ()
 
 renderRightSideContent ($form=null)
 
 renderBeforeFormLayoutForDetailsContent ()
 
 renderAfterFormLayoutForDetailsContent ()
 
 renderAfterRightSideContent ()
 
 renderAfterDetailsTable ()
 
 renderFormLayout ($form=null)
 
 resolveMetadataWithRenderedElements ($metadata, $maxCellsPerRow, $form)
 
 resolveMaxCellsPresentInAnyRow ($metadata)
 
 doesLabelHaveOwnCell ()
 
 afterResolveMetadataWithRenderedElements (&$metadataWithRenderedElements, $form)
 
 getMaxCellsPerRow ()
 
 getModel ()
 
 shouldDisplayCell ($detailViewOnly)
 
 shouldDisplayPanel ($detailViewOnly)
 
 resolveElementInformationDuringFormLayoutRender (&$elementInformation)
 
 resolveElementDuringFormLayoutRender (&$element)
 
 getFormLayoutMetadata ()
 
 getMorePanelsLinkLabel ()
 
 getLessPanelsLinkLabel ()
 
 alwaysShowErrorSummary ()
 
 getFormLayoutUniqueId ()
 
 getDetailsViewFormLayoutClass ()
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Protected Attributes

 $sampleColumnPagerContent
 
 $mappingDataMetadata
 
 $mappableAttributeIndicesAndDerivedTypes
 
 $requiredAttributesLabelsData
 
- Protected Attributes inherited from ImportWizardView
 $cssClasses = array( 'AdministrativeArea')
 
 $disableFloatOnToolbar = true
 
- Protected Attributes inherited from EditView
 $viewContainsFileUploadElement = false
 
 $wrapContentInWrapperDiv = true
 
- Protected Attributes inherited from DetailsView
 $controllerId
 
 $moduleId
 
 $model
 
 $title
 
- Protected Attributes inherited from ModelView
 $modelClassName
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Additional Inherited Members

- Static Public Member Functions inherited from EditView
static getDesignerRulesType ()
 
- Static Public Member Functions inherited from DetailsView
static assertModelIsValid ($model)
 
static getDefaultMetadata ()
 
static getDesignerRulesType ()
 
- Static Protected Member Functions inherited from ImportWizardView
static assertMetadataIsValid (array $metadata)
 
- Static Protected Member Functions inherited from EditView
static getFormId ()
 
- Static Protected Member Functions inherited from DetailsView
static assertMetadataIsValid (array $metadata)
 
- Static Protected Member Functions inherited from ModelView
static assertMetadataIsValid (array $metadata)
 

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.

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()

Definition at line 282 of file ImportWizardMappingView.php.


The documentation for this class was generated from the following file:
Generated on Sun Apr 5 2020 07:10:58