ePages 7.37.0 - DE_EPAGES/MediaGallery/Hooks/Shop.pm

Package DE_EPAGES::MediaGallery::Hooks::Shop

Adds the MediaGallery as a child object to the shop.

Functions

OnInsertShop
OnInsertShopFeature

OnInsertShop

Adds the MediaGallery as a child object to the shop. (Hook OBJ_InsertShop)

Syntax
OnInsertShop( $hParams );
Input
$hParams (ref.hash.*)

  • Object - shop - object

OnInsertShopFeature

Triggered by the hook API_InsertShopFeature. Imports MediaGallery "UnityMediaImportFiles" into a new Unity shop if the feature 'Unity' is set.

Syntax
OnInsertShopFeature( $hParams );
Input
$hParams
hook parameters
  • ShopID - shop id - int
  • FeatureID - feature id - int