Definition at line 7 of file language_main.php.
Public Member Functions | |
render () | |
save () | |
Protected Member Functions | |
_getLanguageInfo ($sOxId) | |
_loadLanguages () | |
_updateAbbervation ($sOldId, $sNewId) | |
_sortLangArraysByBaseId () | |
_assignDefaultLangParams () | |
_setDefaultLang ($sOxId) | |
_getAvailableLangBaseId () | |
_checkLangTranslations ($sOxId) | |
_checkMultiLangDbFields ($sOxId) | |
_sortLangParamsByBaseIdCallback ($oLang1, $oLang2) | |
Protected Attributes | |
$_aLangData = null | |
$_aLangParams = null | |
$_aLanguagesUrls = null | |
$_aLanguagesSslUrls = null |
Language_Main.render | ( | ) |
Executes parent method parent.render(), creates oxCategoryList object, passes it's data to Smarty engine and returns name of template file "selectlist_main.tpl".
Reimplemented from oxAdminDetails.
Definition at line 45 of file language_main.php.
Language_Main.save | ( | ) |
Saves selection list parameters changes.
Reimplemented from oxAdminView.
Definition at line 84 of file language_main.php.
Language_Main._getLanguageInfo | ( | $ | sOxId | ) | [protected] |
Get selected language info
string | $sOxId language abbervation |
Definition at line 164 of file language_main.php.
Language_Main._loadLanguages | ( | ) | [protected] |
Loads from config all data related with languages. If no languages parameters array exists, sets default parameters values.
Definition at line 184 of file language_main.php.
Language_Main._updateAbbervation | ( | $ | sOldId, | |
$ | sNewId | |||
) | [protected] |
Replaces languages arrays keys by new value.
string | $sOldId old ID | |
string | $sNewId new ID |
Definition at line 205 of file language_main.php.
Language_Main._sortLangArraysByBaseId | ( | ) | [protected] |
Sort languages, languages parameters, urls, ssl urls arrays according base land ID
Definition at line 232 of file language_main.php.
Language_Main._assignDefaultLangParams | ( | ) | [protected] |
Assign default values for eache language
Definition at line 257 of file language_main.php.
Language_Main._setDefaultLang | ( | $ | sOxId | ) | [protected] |
Sets default language base ID to config var 'sDefaultLang'
string | $sOxId language abbervation |
Definition at line 280 of file language_main.php.
Language_Main._getAvailableLangBaseId | ( | ) | [protected] |
Language_Main._checkLangTranslations | ( | $ | sOxId | ) | [protected] |
Check selected language has translation file lang.php If not - displays warning
string | $sOxId language abbervation |
Definition at line 322 of file language_main.php.
Language_Main._checkMultiLangDbFields | ( | $ | sOxId | ) | [protected] |
Check if selected language has multilanguage fields in DB If not - displays warning
string | $sOxId language abbervation |
Definition at line 344 of file language_main.php.
Language_Main._sortLangParamsByBaseIdCallback | ( | $ | oLang1, | |
$ | oLang2 | |||
) | [protected] |
Callback function for sorting languages arraty. Sorts array according 'baseId' parameter
object | $oLang1 language array | |
object | $oLang2 language array |
Definition at line 382 of file language_main.php.
Language_Main.$_aLangData = null [protected] |
Definition at line 15 of file language_main.php.
Language_Main.$_aLangParams = null [protected] |
Definition at line 22 of file language_main.php.
Language_Main.$_aLanguagesUrls = null [protected] |
Definition at line 29 of file language_main.php.
Language_Main.$_aLanguagesSslUrls = null [protected] |
Definition at line 36 of file language_main.php.