Package DE_EPAGES::ShopConfiguration::API::PreCreatedShop
Helper functions for pre-creation of shops.
@EXPORT_OK |
Functions
CountPreCreatedShops
Returns the current number of pre-created shops of a given shop type in the given store database.
Syntax |
$Count = CountPreCreatedShops( $Provider, $Store, $ShopType ); |
Input |
|
Return |
|
GetPreCreatedShop
Returns a pre-created shop of a given shop type in the given store database. Returns undef if no such shop exists.
Syntax |
$ShopRef = GetPreCreatedShop( $Provider, $Store, $ShopType ); |
Input |
|
Return |
|
PreCreateShops
Ensures that $Count shops of a given shop type are pre-created in the given store database. Creates additional shops if the current number is less than $Count.
Syntax |
PreCreateShops($Provider, $Store, $ShopType, $Count, $aImportFiles, $PublicFilesDir); |
Input |
|