|
OXID eShop CE
4.10.2
|
Inheritance diagram for Language_Main:
Collaboration diagram for Language_Main: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 () | |
| checkAbbreviationAllowedCharacters ($sAbbreviation) | |
| isValidLanguageData ($aLanguageData) | |
| getNoJsValidator () | |
Protected Member Functions inherited from oxAdminDetails | |
| _getTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null) | |
| _getEditValue ($oObject, $sField) | |
| _processEditValue ($sValue) | |
| _getPlainEditor ($iWidth, $iHeight, $oObject, $sField) | |
| _generateTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null) | |
| _createCategoryTree ($sTplVarName, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null) | |
| _getCategoryTree ($sTplVarName, $sSelectedCatId, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null) | |
| _setupNavigation ($sNode) | |
| _resetCounts ($aIds) | |
Protected Member Functions inherited from oxAdminView | |
| _getEditShop ($sShopId) | |
| _getServiceProtocol () | |
| _getShopVersionNr () | |
| _addNavigationHistory ($sNode) | |
| _getMaxUploadFileInfo ($iMaxFileSize, $blFormatted=false) | |
| _resetContentCache () | |
| _allowAdminEdit ($sUserId) | |
| _getCountryByCode ($sCountryCode) | |
| _authorize () | |
Protected Member Functions inherited from oxView | |
| _executeNewAction ($sNewAction) | |
Protected Attributes | |
| $_aLangData = null | |
| $_aLangParams = null | |
| $_aLanguagesUrls = null | |
| $_aLanguagesSslUrls = null | |
Protected Attributes inherited from oxAdminDetails | |
| $_oEditor = null | |
Protected Attributes inherited from oxAdminView | |
| $_aSumType | |
| $_sThisTemplate = null | |
| $_iDefEdit = 0 | |
| $_iEditLang = 0 | |
| $_sShopTitle = " - " | |
| $_sShopVersion = null | |
| $_sServiceUrl = null | |
| $_oEditShop = null | |
| $_sEditObjectId = null | |
Protected Attributes inherited from oxView | |
| $_aViewData = array() | |
| $_sClassLocation = null | |
| $_sThisAction = null | |
| $_oParent = null | |
| $_blIsComponent = false | |
| $_sThisTemplate = null | |
| $_sViewId = null | |
| $_sClass = null | |
| $_sFnc = null | |
| $_sTrustedShopId = null | |
| $_sTSExcellenceId = null | |
| $_sCharSet = null | |
| $_sVersion = null | |
| $_blDemoVersion = null | |
| $_blDemoShop = null | |
| $_iNewsStatus = null | |
| $_sShopLogo = null | |
| $_sCategoryId = null | |
| $_oClickCat = null | |
| $_blIsCallForCache = false | |
| $_oViewConf = null | |
Private Attributes | |
| $oConfigValidator | |
Additional Inherited Members | |
Static Protected Attributes inherited from oxAdminView | |
| static | $_oNaviTree = null |
| static | $_sAuthUserRights = 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.
|
protected |
Adding new language to DB - creating new multilangue fields with new language ID (e.g. oxtitle_4)
Definition at line 386 of file language_main.php.
|
protected |
Assign default values for eache language
| array | $aLanguages | language array |
Definition at line 289 of file language_main.php.
|
protected |
Check if language already exists
| string | $sAbbr | language abbervation |
Definition at line 418 of file language_main.php.
|
protected |
Check selected language has translation file lang.php If not - displays warning
| string | $sOxId | language abbervation |
Definition at line 349 of file language_main.php.
|
protected |
Check if selected language already has multilanguage fields in DB
| string | $sOxId | language abbervation |
Definition at line 369 of file language_main.php.
|
protected |
|
protected |
Get selected language info
| string | $sOxId | language abbervation |
Definition at line 185 of file language_main.php.
|
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 216 of file language_main.php.
|
protected |
Sets default language base ID to config var 'sDefaultLang'
| string | $sOxId | language abbervation |
Definition at line 310 of file language_main.php.
|
protected |
Languages array setter
| array | $aLangData | languages parameters array |
Definition at line 204 of file language_main.php.
|
protected |
Sort languages, languages parameters, urls, ssl urls arrays according base land ID
Definition at line 262 of file language_main.php.
|
protected |
Callback function for sorting languages arraty. Sorts array according 'baseId' parameter
| object | $oLang1 | language array |
| object | $oLang2 | language array |
Definition at line 439 of file language_main.php.
|
protected |
Replaces languages arrays keys by new value.
| string | $sOldId | old ID |
| string | $sNewId | new ID |
Definition at line 237 of file language_main.php.
|
protected |
|
protected |
Check if language abbreviation contains only allowed characters. Abbreviation is used for view creation, so to be on the safe side with MySQL, only allow characters [0-9,a-z,A-Z_] (basic Latin letters, digits 0-9, underscore). Allowing other characters means table names would have to be escaped with backticks in all queries.
| string | $sAbbreviation | language abbreviation |
Definition at line 496 of file language_main.php.
|
protected |
Definition at line 536 of file language_main.php.
|
protected |
Validates provided language data and sets error to view in case it is not valid.
| array | $aLanguageData |
Definition at line 512 of file language_main.php.
| 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 48 of file language_main.php.
| Language_Main::save | ( | ) |
Saves selection list parameters changes.
Reimplemented from oxAdminView.
Definition at line 76 of file language_main.php.
|
protected |
Definition at line 15 of file language_main.php.
|
protected |
Definition at line 22 of file language_main.php.
|
protected |
Definition at line 36 of file language_main.php.
|
protected |
Definition at line 29 of file language_main.php.
|
private |
Definition at line 39 of file language_main.php.