OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
oxShopViewValidator Class Reference

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()

Detailed Description

Shop view validator. checks which views are valid / invalid

Definition at line 8 of file oxshopviewvalidator.php.

Member Function Documentation

oxShopViewValidator::_getAllViews ( )
protected

Returns list of all shop views

Returns
array

Definition at line 117 of file oxshopviewvalidator.php.

oxShopViewValidator::_getShopViews ( )
protected

Returns list of shop specific views currently in database

Returns
array

Definition at line 153 of file oxshopviewvalidator.php.

oxShopViewValidator::_getValidShopViews ( )
protected

Returns list of valid shop views

Returns
array

Definition at line 175 of file oxshopviewvalidator.php.

oxShopViewValidator::_isCurrentShopView (   $sViewName)
protected

Checks if given view name belongs to current subshop or is general view

Parameters
$sViewName
Returns
bool

Definition at line 131 of file oxshopviewvalidator.php.

oxShopViewValidator::_isViewValid (   $sViewName)
protected

Checks if view name is valid according to current config

Parameters
$sViewName
Returns
bool

Definition at line 204 of file oxshopviewvalidator.php.

oxShopViewValidator::getAllShopLanguages ( )
Returns
array

Definition at line 90 of file oxshopviewvalidator.php.

oxShopViewValidator::getInvalidViews ( )

Returns list of invalid views

Returns
array

Definition at line 212 of file oxshopviewvalidator.php.

oxShopViewValidator::getLanguages ( )
Returns
array

Definition at line 73 of file oxshopviewvalidator.php.

oxShopViewValidator::getMultiLangTables ( )

Returns multi lang tables

Returns
array

Definition at line 38 of file oxshopviewvalidator.php.

oxShopViewValidator::getMultiShopTables ( )

Returns multi shop tables

Returns
array

Definition at line 56 of file oxshopviewvalidator.php.

oxShopViewValidator::getShopId ( )

Returns list of available shops

Returns
integer

Definition at line 108 of file oxshopviewvalidator.php.

oxShopViewValidator::setAllShopLanguages (   $aAllShopLanguages)

Returns list of active languages in shop

Parameters
array$aAllShopLanguages

Definition at line 82 of file oxshopviewvalidator.php.

oxShopViewValidator::setLanguages (   $aLanguages)

Returns list of active languages in shop

Parameters
array$aLanguages

Definition at line 65 of file oxshopviewvalidator.php.

oxShopViewValidator::setMultiLangTables (   $aMultiLangTables)
Parameters
null$aMultiLangTables

Definition at line 29 of file oxshopviewvalidator.php.

oxShopViewValidator::setMultiShopTables (   $aMultiShopTables)
Parameters
array$aMultiShopTables

Definition at line 47 of file oxshopviewvalidator.php.

oxShopViewValidator::setShopId (   $iShopId)
Parameters
integer$iShopId

Definition at line 99 of file oxshopviewvalidator.php.

Member Data Documentation

oxShopViewValidator::$_aAllShopLanguages = array()
protected

Definition at line 16 of file oxshopviewvalidator.php.

oxShopViewValidator::$_aAllViews = array()
protected

Definition at line 20 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 22 of file oxshopviewvalidator.php.

oxShopViewValidator::$_aValidShopViews = array()
protected

Definition at line 24 of file oxshopviewvalidator.php.

oxShopViewValidator::$_iShopId = null
protected

Definition at line 18 of file oxshopviewvalidator.php.


The documentation for this class was generated from the following file: