Namespace: Consultingwerk.SmartFramework.System
Class 
SmartLanguageProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartFramework.ILanguageProvider

File:SmartLanguageProvider
Purpose:ILanguageProvider implementation. Reads langauges using
the SmartLanguageBusinessEntity and the default language
(ISO-Code) from the .applicationsettings/.restapplicationsettings
file
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Aug 10 12:09:00 CEST 2017



Top Method Summary
Options Name Purpose
+ GetAvailableLanguages (table) Returns the ttLanguage Temp-Table with the list of available languages
+ CHARACTER GetSessionDefaultLanguage () Returns the code of the session default language


Method Detail
Top

PUBLIC GetAvailableLanguages (table)

Purpose: Returns the ttLanguage Temp-Table with the list of available
languages
Notes:

Parameters:
ttLanguage TEMP-TABLE ttLanguage
OUTPUT Temp-Table with the list of available languages
Top

PUBLIC CHARACTER GetSessionDefaultLanguage ()

Purpose: Returns the code of the session default language
Notes: Based on the defaultLanguage setting on the IConfigurationProvider instance

Returns CHARACTER
The character key of the session default language or ? when unknown


Temp-Table Detail

Temp-Table ttLanguage

Defined in:


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:52:15