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

ImportToMappingFormLayoutUtil Class Reference

Static Public Member Functions

static make ($modelClassName, $form, $importRulesType, $mappableAttributeIndicesAndDerivedTypes)

Static Protected Member Functions

static resolveMappableAttributeIndicesAndDerivedTypesByColumnType ($mappableAttributeIndicesAndDerivedTypes, $columnType, $importRulesType)

Detailed Description

Helper utility for spliting $mappableAttributeIndicesAndDerivedTypes into one array for import columns and the other for extra columns. Then making a MappingFormLayoutUtil from this information.

Definition at line 41 of file ImportToMappingFormLayoutUtil.php.


Member Function Documentation

static make ( modelClassName,
form,
importRulesType,
mappableAttributeIndicesAndDerivedTypes 
) [static]

Given several parameters, make a MappingFormLayoutUtil object.

Parameters:
string $modelClassName
object $form
string $importRulesType
array $mappableAttributeIndicesAndDerivedTypes

Definition at line 50 of file ImportToMappingFormLayoutUtil.php.

static resolveMappableAttributeIndicesAndDerivedTypesByColumnType ( mappableAttributeIndicesAndDerivedTypes,
columnType,
importRulesType 
) [static, protected]

Based on the column type, filter down (sanitize) the array of $mappableAttributeIndicesAndDerivedTypes based on which attribute indices and derived types are available.

Parameters:
array $mappableAttributeIndicesAndDerivedTypes
string $columnType
Returns:
a sanitized array of $mappableAttributeIndicesAndDerivedTypes for the column type.

Definition at line 72 of file ImportToMappingFormLayoutUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Mar 26 07:10:55 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