SGL_TranslationA wrapper to PEAR Translation2.
Located in /SGL/Translation.php (line 49)
static clearCache (line 139)
Clear translation2 and GUI cache
static clearGuiTranslationsCache (line 164)
Clear GUI Translations cache
static ensureDirIsWrirable (line 708)
Ensure that target dir exist and is writable.
static escapeSingleQuote (line 742)
Esacape single quote.
static escapeSingleQuoteInArrayKeys (line 758)
Escape single quotes in every key of given array.
static extractCharset (line 431)
Get charset from supplied language.
static getCharset (line 396)
Get current charset.
static getFallbackCharset (line 473)
Get default charset.
static getFallbackLangID (line 456)
Get fallback language.
static getGuiTranslationsFromFile (line 192)
Returns a dictionary of translated strings.
static getLangID (line 375)
Return current language ID format.
static getTranslations (line 309)
Returns a dictionary of translated strings from the db.
static isAllowedLanguage (line 413)
Check if language is allowed.
static lockTranslationFile (line 596)
Lock translation file.
static removeMetaData (line 576)
Remove meta data from translation array.
static removeTranslationLock (line 652)
Remove translation lock.
static removeTranslationLocksByUser (line 673)
Remove locks set by $username.
static removeTranslations (line 513)
Remove all translations for all languages for specified module.
static singleton (line 70)
Generate singleton for PEAR::Tranlation2
Object types:
static transformLangID (line 490)
Toggle langID format
SGL_LANG_ID_SGL - en-iso-8859-15 SGL_LANG_ID_TRANS2 - en_iso_8859_15
static translationFileIsLocked (line 624)
Check if translation is locked.
static updateGuiTranslations (line 251)
Update GUI Translations.
static updateMetaData (line 550)
Add/update meta keys to translation array.
getFileName (line 292)
Documentation generated on Tue, 23 Feb 2010 18:14:33 +0000 by phpDocumentor 1.4.3