ePages 6.11.0 - DE_EPAGES/Presentation/API/TLE/TemplateHandler.pm

Package DE_EPAGES::Presentation::API::TLE::TemplateHandler

Functions

ATTRIBUTEVALUE

ATTRIBUTEVALUE

Returns the value of #Attribute if set or translation for keyword #AlternateKey

Syntax
#ATTRIBUTEVALUE(#Object, #Attribute, #AlternateKey, #LanguageID, #Cartridge, 0)
Example
#ATTRIBUTEVALUE(#Shop, "AcceptTacText", "AcceptTac", #LanguageID, "DE_EPAGES::Order", 0)
Input
#Object (object)
object
#Attribute (string)
alias of attribute
#AlternateKey (string)
keyword to translate if attribute is not defined
#LanguageID (integer)
identifier of language
#Cartridge (string)
cartridge where translation is defined
#ReplaceTLE (boolean)
replace TLE variables
Return
#AttributeValue (boolean)
value for attribute if defined, otherwise translated keyword