[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 267 lines (10 kb) |
Included or required: | 5 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Vtiger_Language_Handler:: (11 methods):
getTranslatedString()
getLanguageTranslatedString()
getJSTranslatedString()
getModuleStringsFromFile()
getLanguage()
getShortLanguageName()
export()
getAllLanguages()
getLanguageLabel()
vtranslate()
vJSTranslate()
Class: Vtiger_Language_Handler - X-Ref
Class to handler language translationsgetTranslatedString($key, $module = '', $currentLanguage = '') X-Ref |
Functions that gets translated string param: <String> $key - string which need to be translated param: <String> $module - module scope in which the translation need to be check return: <String> - translated string |
getLanguageTranslatedString($language, $key, $module = '') X-Ref |
Function returns language specific translated string param: <String> $language - en_us etc param: <String> $key - label param: <String> $module - module name return: <String> translated string or null if translation not found |
getJSTranslatedString($language, $key, $module = '') X-Ref |
Functions that gets translated string for Client side param: <String> $key - string which need to be translated param: <String> $module - module scope in which the translation need to be check return: <String> - translated string |
getModuleStringsFromFile($language, $module='Vtiger') X-Ref |
Function that returns translation strings from file param: <String> $module - module Name return: <array> - array if module has language strings else returns empty array |
getLanguage() X-Ref |
Function that returns current language return: <String> - |
getShortLanguageName() X-Ref |
Function that returns current language short name return: <String> - |
export($module, $type = 'languageStrings') X-Ref |
Function returns module strings param: <String> $module - module Name param: <String> languageStrings or jsLanguageStrings return: <Array> |
getAllLanguages() X-Ref |
Function to returns all language information return: <Array> |
getLanguageLabel($name) X-Ref |
Function to get the label name of the Langauge package param: <String> $name |
vtranslate($key, $moduleName = '') X-Ref |
No description |
vJSTranslate($key, $moduleName = '') X-Ref |
No description |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |