ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

Script object Language

This object offers functions for work with languages.

Script functions

Name Description
string GetCodeById(int languageId) Function returns language code according to the input Id. If such a language does not exist, NULL is returned.
LanguageList GetByCodes( string codes) Function returns list of objects Language according to input language codes. Separate particular codes by comma or semicolon.

Object call

OG.Language

Call example

var code = OG.Language.GetCodeById( 2);

var ll = OG.Language.GetByCodes( 'en-US,de-DE');

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information