OXID eShop CE
6.1.4
|
Public Member Functions | |
getCatArticleCount ($sCatId) | |
getPriceCatArticleCount ($sCatId, $dPriceFrom, $dPriceTo) | |
getVendorArticleCount ($sVendorId) | |
getManufacturerArticleCount ($sManufacturerId) | |
setCatArticleCount ($aCache, $sCatId, $sActIdent) | |
setPriceCatArticleCount ($aCache, $sCatId, $sActIdent, $dPriceFrom, $dPriceTo) | |
setVendorArticleCount ($aCache, $sCatId, $sActIdent) | |
setManufacturerArticleCount ($aCache, $sMnfId, $sActIdent) | |
resetCatArticleCount ($sCatId=null) | |
resetPriceCatArticleCount ($iPrice) | |
resetVendorArticleCount ($sVendorId=null) | |
resetManufacturerArticleCount ($sManufacturerId=null) | |
Protected Member Functions | |
getAssoc ($query, $parameters=[]) | |
_getCatCache () | |
_setCatCache ($aCache) | |
_setVendorCache ($aCache) | |
_setManufacturerCache ($aCache) | |
_getVendorCache () | |
_getManufacturerCache () | |
_getUserViewId ($blReset=false) | |
getCurrentUserSessionGroups () | |
Protected Attributes | |
$_sUserViewId = null | |
Date manipulation utility class
|
protected |
Loads and returns category cache data array
|
protected |
Loads and returns category/Manufacturer cache data array
|
protected |
Returns user view id (Shop, language, RR group index...)
bool | $blReset | optional, default = false |
|
protected |
Loads and returns category/vendor cache data array
|
protected |
Writes category data into cache
array | $aCache | A cacheable data |
|
protected |
Writes Manufacturer data into cache
array | $aCache | A cacheable data |
|
protected |
Writes vendor data into cache
array | $aCache | A cacheable data |
|
protected |
Returns the query result as a two dimensional associative array. The keys of the first level are the firsts value of each row. The values of the first level arrays with numeric key that hold the all the values of each row but the first one, which is used a a key in the first level.
string | $query | |
array | $parameters |
OxidEsales\EshopCommunity\Core\UtilsCount::getCatArticleCount | ( | $sCatId | ) |
Returns category article count
string | $sCatId | Category Id |
|
protected |
Get current user groups
OxidEsales\EshopCommunity\Core\UtilsCount::getManufacturerArticleCount | ( | $sManufacturerId | ) |
Returns Manufacturer article count
string | $sManufacturerId | Manufacturer category Id |
OxidEsales\EshopCommunity\Core\UtilsCount::getPriceCatArticleCount | ( | $sCatId, | |
$dPriceFrom, | |||
$dPriceTo | |||
) |
Returns category article count price
string | $sCatId | Category Id |
double | $dPriceFrom | from price |
double | $dPriceTo | to price |
OxidEsales\EshopCommunity\Core\UtilsCount::getVendorArticleCount | ( | $sVendorId | ) |
Returns vendor article count
string | $sVendorId | Vendor category Id |
OxidEsales\EshopCommunity\Core\UtilsCount::resetCatArticleCount | ( | $sCatId = null | ) |
Resets category (all categories) article count
string | $sCatId | Category/vendor/manufacturer ID |
OxidEsales\EshopCommunity\Core\UtilsCount::resetManufacturerArticleCount | ( | $sManufacturerId = null | ) |
Resets Manufacturer (all Manufacturers) article count
string | $sManufacturerId | Category/Manufacturer ID |
OxidEsales\EshopCommunity\Core\UtilsCount::resetPriceCatArticleCount | ( | $iPrice | ) |
Resets price categories article count
int | $iPrice | article price |
OxidEsales\EshopCommunity\Core\UtilsCount::resetVendorArticleCount | ( | $sVendorId = null | ) |
Resets vendor (all vendors) article count
string | $sVendorId | Category/vendor ID |
OxidEsales\EshopCommunity\Core\UtilsCount::setCatArticleCount | ( | $aCache, | |
$sCatId, | |||
$sActIdent | |||
) |
Saves and returns category article count into cache
array | $aCache | Category cache data |
string | $sCatId | Unique category identifier |
string | $sActIdent | ID |
OxidEsales\EshopCommunity\Core\UtilsCount::setManufacturerArticleCount | ( | $aCache, | |
$sMnfId, | |||
$sActIdent | |||
) |
Saves and returns Manufacturers category article count into cache
array | $aCache | Category cache data |
string | $sMnfId | Unique Manufacturer ident |
string | $sActIdent | Unique user context ID |
OxidEsales\EshopCommunity\Core\UtilsCount::setPriceCatArticleCount | ( | $aCache, | |
$sCatId, | |||
$sActIdent, | |||
$dPriceFrom, | |||
$dPriceTo | |||
) |
OxidEsales\EshopCommunity\Core\UtilsCount::setVendorArticleCount | ( | $aCache, | |
$sCatId, | |||
$sActIdent | |||
) |
Saves and returns vendors category article count into cache
array | $aCache | Category cache data |
string | $sCatId | Unique vendor category ident |
string | $sActIdent | Vendor category ID |
|
protected |