Package DE_EPAGES::ShopTransfer::API::Transform
Functions
- createSystemMapping
- createTableMapping
- getCountOfRows
- getSourceFile
- getVisibleLocales
- loadSystem
- transferTable
%ITERATORS (hash.function)
functions build index keys: ids values: unique key (without internal identifier)
createSystemMapping
Loads System Mappings (IDs to IDs).
Syntax |
$hSystemMapping = $trans->createSystemMapping($Table, $hOptions); |
Input |
|
Return |
|
createTableMapping
Adds shop mapping to system mapping.
Syntax |
$Count = $trans->createTableMapping($Table, $ShopAlias, $FirstID, $SystemMappings, $hOptions) |
Input |
|
Return |
|
getCountOfRows
Counts rows of source bcp file.
Syntax |
$Count = $trans_>getCountOfRows($Table, $ShopAlias, $hOptions) |
Input |
|
Return |
|
getSourceFile
Returns existing file name (may be bcp file was changed in patch).
Syntax |
$FileName = $trans->getSourceFile($StorePath, $SiteAlias, $Table, $hOptions); |
Input |
|
Return |
|
getVisibleLocales
Gets visible locales of bcp file.
Syntax |
%VisibleLocales = $trans->getVisibleLocales($hOptions) |
Input |
|
Return |
|
loadSystem
Loads System Mappings (IDs to UniqueExternalPresentation).
Syntax |
$hSystemMapping = $trans->loadSystem($Table, $hOptions, $IsNew); |
Input |
|
Return |
|
transferTable
Replaces old identifier of shop bcp file with new identifier.
Syntax |
$trans->transferTable($Table, $ShopAlias, $hOptions) |
Input |
|