Public Member Functions | |
setMultiLangTables ($aMultiLangTables) | |
getMultiLangTables () | |
setMultiShopTables ($aMultiShopTables) | |
getMultiShopTables () | |
setLanguages ($aLanguages) | |
getLanguages () | |
setAllShopLanguages ($aAllShopLanguages) | |
getAllShopLanguages () | |
setShopId ($iShopId) | |
getShopId () | |
getInvalidViews () | |
Protected Member Functions | |
_getAllViews () | |
_isCurrentShopView ($sViewName) | |
_getShopViews () | |
_getValidShopViews () | |
_isViewValid ($sViewName) | |
Protected Attributes | |
$_aMultiLangTables = array() | |
$_aMultiShopTables = array() | |
$_aLanguages = array() | |
$_aAllShopLanguages = array() | |
$_iShopId = null | |
$_aAllViews = array() | |
$_aShopViews = array() | |
$_aValidShopViews = array() |
Shop view validator. checks which views are valid / invalid
Definition at line 8 of file oxshopviewvalidator.php.
oxShopViewValidator._getAllViews | ( | ) | [protected] |
Returns list of all shop views
Definition at line 134 of file oxshopviewvalidator.php.
oxShopViewValidator._getShopViews | ( | ) | [protected] |
Returns list of shop specific views currently in database
Definition at line 174 of file oxshopviewvalidator.php.
oxShopViewValidator._getValidShopViews | ( | ) | [protected] |
Returns list of valid shop views
Definition at line 197 of file oxshopviewvalidator.php.
oxShopViewValidator._isCurrentShopView | ( | $ | sViewName | ) | [protected] |
Checks if given view name belongs to current subshop or is general view
string | $sViewName View name |
Definition at line 150 of file oxshopviewvalidator.php.
oxShopViewValidator._isViewValid | ( | $ | sViewName | ) | [protected] |
Checks if view name is valid according to current config
string | $sViewName View name |
Definition at line 228 of file oxshopviewvalidator.php.
oxShopViewValidator.getAllShopLanguages | ( | ) |
oxShopViewValidator.getInvalidViews | ( | ) |
oxShopViewValidator.getLanguages | ( | ) |
oxShopViewValidator.getMultiLangTables | ( | ) |
oxShopViewValidator.getMultiShopTables | ( | ) |
oxShopViewValidator.getShopId | ( | ) |
Returns list of available shops
Definition at line 124 of file oxshopviewvalidator.php.
oxShopViewValidator.setAllShopLanguages | ( | $ | aAllShopLanguages | ) |
Returns list of active languages in shop
array | $aAllShopLanguages |
Definition at line 93 of file oxshopviewvalidator.php.
oxShopViewValidator.setLanguages | ( | $ | aLanguages | ) |
Returns list of active languages in shop
array | $aLanguages |
Definition at line 73 of file oxshopviewvalidator.php.
oxShopViewValidator.setMultiLangTables | ( | $ | aMultiLangTables | ) |
Sets multi language tables.
null | $aMultiLangTables |
Definition at line 32 of file oxshopviewvalidator.php.
oxShopViewValidator.setMultiShopTables | ( | $ | aMultiShopTables | ) |
Sets multi shop tables.
array | $aMultiShopTables |
Definition at line 53 of file oxshopviewvalidator.php.
oxShopViewValidator.setShopId | ( | $ | iShopId | ) |
oxShopViewValidator.$_aAllShopLanguages = array() [protected] |
Definition at line 17 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aAllViews = array() [protected] |
Definition at line 21 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aLanguages = array() [protected] |
Definition at line 15 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aMultiLangTables = array() [protected] |
Definition at line 11 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aMultiShopTables = array() [protected] |
Definition at line 13 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aShopViews = array() [protected] |
Definition at line 23 of file oxshopviewvalidator.php.
oxShopViewValidator.$_aValidShopViews = array() [protected] |
Definition at line 25 of file oxshopviewvalidator.php.
oxShopViewValidator.$_iShopId = null [protected] |
Definition at line 19 of file oxshopviewvalidator.php.