Package DE_EPAGES::Object::API::TLE::StandardHandler
Implements general TLE variables
- Currency - information about the currently selected currency
- System - root object of the current database
- StoreRoot - public image directory of the current database
Example |
#Currency.Symbol -> $ #System.StoreName -> Store #StoreRoot -> /WebRoot/Store <img src="#ImageSmall[webpath]" /> |
Functions
CURRENCY
Returns currency information by curreny id.
Syntax |
#CURRENCY(#CurrencyID) |
Example |
#LOCAL("LocalCurrency", #CURRENCY("USD")) #LocalCurrency.Symbol #ENDLOCAL |
Return |
|
WITH_LANGUAGE
Temporarily changes the language context of a template.
Syntax |
#WITH_LANGUAGE(#LanguageID) ... #ENDWITH_LANGUAGE |
Example |
#LOCAL("LocalLanguage", #FUNCTION("GetLanguageByCode", "en")) #WITH_LANGUAGE(#LocalLanguage.LanguageID) <h3>#NameOrAlias (#LocalLanguage.Code3)</h3> <p>#Description</p> #ENDWITH_LANGUAGE #ENDLOCAL |
Input |
|