ePages 6.11.0 - DE_EPAGES/ShopConfiguration/API/TLE/LogFileHandler.pm

Package DE_EPAGES::ShopConfiguration::API::TLE::LogFileHandler

Functions

RegisterHandlerProc
existsTLE
new
register
tle

RegisterHandlerProc

this function register this attribute handle on the processor via hook function on hook TLEProcessorRegistration

Syntax
$RegisterHandlerProc( $hParams );
Input
$hParams (ref.hash)
hook arguments keys :
  • Processor - tle processor - object

existsTLE

This function is called by the tle processor to test if a TLE variable is available.

Syntax
$Value = $Handler->existsTLE( $Processor, $TLEName);
Example
my $Value = $Handler->existsTLE( $Processor, 'Products_Count');
Input
$Processor (object)
tle processor
$TLEName (string)
tle name
Return
$Value (bool)
yes or no

new

create a new handler

Syntax
$Handler = new DE_EPAGES::ShopConfiguration::API::TLE::LogFileHandler;
Example
my $PrefixHandler  = new DE_EPAGES::ShopConfiguration::API::TLE::LogFileHandler;
Return
$Handler (object)
blessed object

register

this function register this handle on the processor

Syntax
$Handler->register( $Processor );
Input
$Processor (object)
tle processor

tle

This function is calles by tle processor to get the value of a tle variable.

Syntax
$Value = $Handler->tle( $Processor, $TLEName);
Example
my $Value = $Handler->tle( $Processor, 'Name');
Input
$Processor (object)
tle processor
$TLEName (string)
tle name
Return
$Value (integer)
return value