ePages 6.11.0 - DE_EPAGES/Shop/API/ShopInstaller.pm

Package DE_EPAGES::Shop::API::ShopInstaller

Install/uninstall features. Processes Database/XML/Features*.xml files. Use functions DE_EPAGES::Object::API::ObjectInstaller::onPatchDeleteObjects, DE_EPAGES::Object::API::ObjectInstaller::onPatchImportObjects to patch features.

Base
DE_EPAGES::Presentation::API::PresentationInstaller

Functions

onPatchDeleteShopChildDependencies
onPatchImportShopChildDependencies

onPatchDeleteShopChildDependencies

Called by PatchDeleteHandler by method onPatchDeleteShopChildDependencies Deletes the shopchild dependencies in file $File.

Syntax
$Installer->onPatchDeleteShopChildDependencies($File, $hParams);
Example
$Installer->onPatchDeleteShopChildDependencies(
          'Database/XML/ShopChildDependencies.xml',
          {'CVS' => 'Changed',
          });
Input
$File (string)
cartridgefilename without cartridge directory
$hParams (ref.hash.*)
patch file parameters, keys are
  • CVS - could be New or Changed (will be ignored) - string

onPatchImportShopChildDependencies

Called by PatchImportHandler by method onPatchImportObjects Imports the shopchild dependencies in file $File.

Syntax
$Installer->onPatchImportShopChildDependencies($File, $hParams);
Example
$Installer->onPatchImportShopChildDependencies(
          'Database/XML/ShopChildDependencies.xml',
          {'CVS' => 'Changed',
          });
Input
$File (string)
cartridgefilename without cartridge directory
$hParams (ref.hash.*)
patch file parameters, keys are
  • CVS - could be New or Changed (will be ignored) - string