Public Member Functions | |
| setMultiLangTables ($aMultiLangTables) | |
| getMultiLangTables () | |
| setMultiShopTables ($aMultiShopTables) | |
| getMultiShopTables () | |
| setLanguages ($aLanguages) | |
| getLanguages () | |
| setShopId ($iShopId) | |
| getShopId () | |
| getInvalidViews () | |
Protected Member Functions | |
| _getAllViews () | |
| _isCurrentShopView ($sViewName) | |
| _getShopViews () | |
| _getValidShopViews () | |
| _isViewValid ($sViewName) | |
Protected Attributes | |
| $_aMultiLangTables = array() | |
| $_aMultiShopTables = array() | |
| $_aLanguages = array() | |
| $_iShopId = null | |
| $_aAllViews = array() | |
| $_aShopViews = array() | |
| $_aValidShopViews = array() | |
Private Member Functions | |
| _getAllShopLanguageIds () | |
| _getAllLanguageParamValues ($sParamName) | |
| _getConfigLanguageParamValues () | |
| _processLanguageParamsArray ($aLanguageParams) | |
| _getConfigLanguageValues () | |
Shop view validator. checks which views are valid / invalid
Definition at line 8 of file oxshopviewvalidator.php.
| oxShopViewValidator._getAllLanguageParamValues | ( | $ | sParamName | ) | [private] |
Returns array of all config values of given paramName (for all subshops)
| $sParamName |
Definition at line 226 of file oxshopviewvalidator.php.
| oxShopViewValidator._getAllShopLanguageIds | ( | ) | [private] |
Returns available language IDs (abbreviations) for all sub shops
Definition at line 212 of file oxshopviewvalidator.php.
| oxShopViewValidator._getAllViews | ( | ) | [protected] |
| oxShopViewValidator._getConfigLanguageParamValues | ( | ) | [private] |
Returns list of all language codes taken from config values of given 'aLanguageParams' (for all subshops)
Definition at line 244 of file oxshopviewvalidator.php.
| oxShopViewValidator._getConfigLanguageValues | ( | ) | [private] |
Returns list of all language codes taken from config values of given 'aLanguages' (for all subshops)
Definition at line 284 of file oxshopviewvalidator.php.
| oxShopViewValidator._getShopViews | ( | ) | [protected] |
Returns list of shop specific views currently in database
Definition at line 134 of file oxshopviewvalidator.php.
| oxShopViewValidator._getValidShopViews | ( | ) | [protected] |
Returns list of valid shop views
Definition at line 156 of file oxshopviewvalidator.php.
| oxShopViewValidator._isCurrentShopView | ( | $ | sViewName | ) | [protected] |
Checks if given view name belongs to current subshop or is general view
| $sViewName |
Definition at line 112 of file oxshopviewvalidator.php.
| oxShopViewValidator._isViewValid | ( | $ | sViewName | ) | [protected] |
Checks if view name is valid according to current config
| $sViewName |
Definition at line 185 of file oxshopviewvalidator.php.
| oxShopViewValidator._processLanguageParamsArray | ( | $ | aLanguageParams | ) | [private] |
generates language code array from aLanguageParams array
| $aLanguageParams |
Definition at line 267 of file oxshopviewvalidator.php.
| oxShopViewValidator.getInvalidViews | ( | ) |
| oxShopViewValidator.getLanguages | ( | ) |
Definition at line 71 of file oxshopviewvalidator.php.
| oxShopViewValidator.getMultiLangTables | ( | ) |
| oxShopViewValidator.getMultiShopTables | ( | ) |
| oxShopViewValidator.getShopId | ( | ) |
Returns list of available shops
Definition at line 89 of file oxshopviewvalidator.php.
| oxShopViewValidator.setLanguages | ( | $ | aLanguages | ) |
Returns list of active languages in shop
| array | $aLanguages |
Definition at line 63 of file oxshopviewvalidator.php.
| oxShopViewValidator.setMultiLangTables | ( | $ | aMultiLangTables | ) |
| null | $aMultiLangTables |
Definition at line 27 of file oxshopviewvalidator.php.
| oxShopViewValidator.setMultiShopTables | ( | $ | aMultiShopTables | ) |
| array | $aMultiShopTables |
Definition at line 45 of file oxshopviewvalidator.php.
| oxShopViewValidator.setShopId | ( | $ | iShopId | ) |
| integer | $iShopId |
Definition at line 80 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aAllViews = array() [protected] |
Definition at line 18 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aLanguages = array() [protected] |
Definition at line 14 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aMultiLangTables = array() [protected] |
Definition at line 10 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aMultiShopTables = array() [protected] |
Definition at line 12 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aShopViews = array() [protected] |
Definition at line 20 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aValidShopViews = array() [protected] |
Definition at line 22 of file oxshopviewvalidator.php.
oxShopViewValidator.$_iShopId = null [protected] |
Definition at line 16 of file oxshopviewvalidator.php.
1.7.1