Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ImportWizardForm Class Reference

Inheritance diagram for ImportWizardForm:
ConfigurableMetadataModel

Public Member Functions

 rules ()
 attributeLabels ()
 getExplicitReadWriteModelPermissions ()
 setExplicitReadWriteModelPermissions ($explicitReadWriteModelPermissions)
 validateMappingData ($attribute, $params)
 validateRowColumnDelimeterIsNotEmpty ()
 validateRowColumnEnclosureIsNotEmpty ()

Data Fields

 $id
 $importRulesType
 $fileUploadData
 $rowColumnDelimiter = ','
 $rowColumnEnclosure = '"'
 $firstRowIsHeaderRow
 $mappingData

Protected Attributes

 $explicitReadWriteModelPermissions

Detailed Description

This form works with the import wizard views to collect data from the user interface and validate it. MappingRules data is not validated using this form, however the mapping rules data is collected and stored in the mappingData array.

See also:
MappingRuleFormAndElementTypeUtil::validateMappingRuleForms

Definition at line 43 of file ImportWizardForm.php.


Member Function Documentation

validateMappingData ( attribute,
params 
)

Validation used in the saveMappingData scenario to make sure the mapping data is correct based on user input. Runs several different validations on the data. This does not validate the validity of the mapping rules data itself. That is done seperately.

See also:
MappingRuleFormAndElementTypeUtil::validateMappingRuleForms
Parameters:
string $attribute
array $params

Definition at line 146 of file ImportWizardForm.php.

validateRowColumnDelimeterIsNotEmpty (  ) 

Validation used when a file is uploaded on the import section. It validates that a column delimeter value was introduced on the form.

Returns:
bool If the value is not empty, returns true, otherwise returns false.

Definition at line 217 of file ImportWizardForm.php.

validateRowColumnEnclosureIsNotEmpty (  ) 

Validation used when a file is uploaded on the import section. It validates that a column enclosure value was introduced on the form.

Returns:
bool If the value is not empty, returns true, otherwise returns false.

Definition at line 231 of file ImportWizardForm.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jan 15 07:10:26 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8