OXID eShop CE
6.4.2
|
Public Member Functions | |
__construct ($config=null, $language=null) | |
getViewName ($table, $languageId=null, $shopId=null) | |
Protected Member Functions | |
getViewSuffix ($table, $languageId, $shopId, $isMultiLang) | |
getConfig () | |
getLanguage () | |
Private Attributes | |
$config | |
$language | |
Generates view name for given table name.
OxidEsales\EshopCommunity\Core\TableViewNameGenerator::__construct | ( | $config = null , |
|
$language = null |
|||
) |
\OxidEsales\Eshop\Core\Config | $config | |
\OxidEsales\Eshop\Core\Language | $language |
|
protected |
|
protected |
OxidEsales\EshopCommunity\Core\TableViewNameGenerator::getViewName | ( | $table, | |
$languageId = null , |
|||
$shopId = null |
|||
) |
Return the view name of the given table if a view exists, otherwise the table name itself. Views usage can be disabled with blSkipViewUsage config option in case admin area is not reachable due to broken views, so that they could be regenerated.
string | $table | Table name |
int | $languageId | Language id [optional] |
int | $shopId | Shop id, otherwise config->getShopId() is used [optional] |
|
protected |
Generates view suffix.
string | $table | |
int | $languageId | |
int | $shopId | |
bool | $isMultiLang |
|
private |
|
private |