ePages 6.11.0 - DE_EPAGES/Core/API/CartridgeConfig.pm

Package DE_EPAGES::Core::API::CartridgeConfig

This module contains all functions needed to configure the datacache.

@EXPORT_OK
CartridgeConfig
CartridgeConfigFile

Functions

CartridgeConfig
CartridgeConfigFile

CartridgeConfig

Gets ini object of the cartridge version file of the given database. ($ENV{'EPAGES_CONFIG'}/Cartridges/$StoreName.conf)

Syntax
$IniConfig = CartridgeConfig( $StoreName );
Input
$StoreName (string)
logical database name
Return
$IniConfig (object)
config object, see DE_EPAGES::Core::API::IniConfig

CartridgeConfigFile

Returns the full name of the cartridge version file of the given database. ($ENV{'EPAGES_CONFIG'}/Cartridges.d/$StoreName.conf)

Syntax
$FileName = CartridgeConfigFile( $StoreName );
Input
$StoreName (string)
logical database name
Return
$FileName (string)
file name