Public Member Functions | |
render () | |
save () | |
Protected Member Functions | |
_getLanguageInfo ($sOxId) | |
_setLanguages ($aLangData) | |
_getLanguages () | |
_updateAbbervation ($sOldId, $sNewId) | |
_sortLangArraysByBaseId () | |
_assignDefaultLangParams ($aLanguages) | |
_setDefaultLang ($sOxId) | |
_getAvailableLangBaseId () | |
_checkLangTranslations ($sOxId) | |
_checkMultilangFieldsExistsInDb ($sOxId) | |
_addNewMultilangFieldsToDb () | |
_checkLangExists ($sAbbr) | |
_sortLangParamsByBaseIdCallback ($oLang1, $oLang2) | |
_validateInput () | |
Protected Attributes | |
$_aLangData = null | |
$_aLangParams = null | |
$_aLanguagesUrls = null | |
$_aLanguagesSslUrls = null |
Admin article main selectlist manager. Performs collection and updatind (on user submit) main item information.
Definition at line 7 of file language_main.php.
Language_Main._addNewMultilangFieldsToDb | ( | ) | [protected] |
Adding new language to DB - creating new multilangue fields with new language ID (e.g. oxtitle_4)
Definition at line 392 of file language_main.php.
Language_Main._assignDefaultLangParams | ( | $ | aLanguages | ) | [protected] |
Assign default values for eache language
array | $aLanguages language array |
Definition at line 292 of file language_main.php.
Language_Main._checkLangExists | ( | $ | sAbbr | ) | [protected] |
Check if language already exists
string | $sAbbr language abbervation |
Definition at line 424 of file language_main.php.
Language_Main._checkLangTranslations | ( | $ | sOxId | ) | [protected] |
Check selected language has translation file lang.php If not - displays warning
string | $sOxId language abbervation |
Definition at line 356 of file language_main.php.
Language_Main._checkMultilangFieldsExistsInDb | ( | $ | sOxId | ) | [protected] |
Check if selected language already has multilanguage fields in DB
string | $sOxId language abbervation |
Definition at line 376 of file language_main.php.
Language_Main._getAvailableLangBaseId | ( | ) | [protected] |
Language_Main._getLanguageInfo | ( | $ | sOxId | ) | [protected] |
Get selected language info
string | $sOxId language abbervation |
Definition at line 182 of file language_main.php.
Language_Main._getLanguages | ( | ) | [protected] |
Loads from config all data related with languages. If no languages parameters array exists, sets default parameters values. Returns collected languages parameters array.
Definition at line 215 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 315 of file language_main.php.
Language_Main._setLanguages | ( | $ | aLangData | ) | [protected] |
Languages array setter
array | $aLangData languages parameters array |
Definition at line 203 of file language_main.php.
Language_Main._sortLangArraysByBaseId | ( | ) | [protected] |
Sort languages, languages parameters, urls, ssl urls arrays according base land ID
Definition at line 265 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 445 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 238 of file language_main.php.
Language_Main._validateInput | ( | ) | [protected] |
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 73 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.$_aLanguagesSslUrls = null [protected] |
Definition at line 36 of file language_main.php.
Language_Main.$_aLanguagesUrls = null [protected] |
Definition at line 29 of file language_main.php.