Definition at line 6 of file oxutilscount.php.
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, $sCatId, $sActIdent) | |
resetCatArticleCount ($sCatId=null) | |
resetPriceCatArticleCount ($iPrice) | |
getTagArticleCount ($sTag, $iLang) | |
resetVendorArticleCount ($sVendorId=null) | |
resetManufacturerArticleCount ($sManufacturerId=null) | |
Static Public Member Functions | |
static | getInstance () |
Protected Member Functions | |
_getCatCache () | |
_setCatCache ($aCache) | |
_setVendorCache ($aCache) | |
_setManufacturerCache ($aCache) | |
_getVendorCache () | |
_getManufacturerCache () | |
_getUserViewId ($blReset=false) | |
Protected Attributes | |
$_sUserViewId = null | |
Static Private Attributes | |
static | $_instance = null |
static oxUtilsCount.getInstance | ( | ) | [static] |
oxUtilsCount.getCatArticleCount | ( | $ | sCatId | ) |
Returns category article count
string | $sCatId Category Id |
Definition at line 52 of file oxutilscount.php.
oxUtilsCount.getPriceCatArticleCount | ( | $ | sCatId, | |
$ | dPriceFrom, | |||
$ | dPriceTo | |||
) |
Returns category article count price
string | $sCatId Category Id | |
double | $dPriceFrom from price | |
double | $dPriceTo to price |
Definition at line 77 of file oxutilscount.php.
oxUtilsCount.getVendorArticleCount | ( | $ | sVendorId | ) |
Returns vendor article count
string | $sVendorId Vendor category Id |
Definition at line 100 of file oxutilscount.php.
oxUtilsCount.getManufacturerArticleCount | ( | $ | sManufacturerId | ) |
Returns Manufacturer article count
string | $sManufacturerId Manufacturer category Id |
Definition at line 123 of file oxutilscount.php.
oxUtilsCount.setCatArticleCount | ( | $ | aCache, | |
$ | sCatId, | |||
$ | sActIdent | |||
) |
Saves and returns category article count into cache
array | $aCache Category cache data | |
string | $sCatId Unique category ident | |
string | $sActIdent ID |
Definition at line 148 of file oxutilscount.php.
oxUtilsCount.setPriceCatArticleCount | ( | $ | aCache, | |
$ | sCatId, | |||
$ | sActIdent, | |||
$ | dPriceFrom, | |||
$ | dPriceTo | |||
) |
Saves (if needed) and returns price category article count into cache
array | $aCache Category cache data | |
string | $sCatId Unique category ident | |
string | $sActIdent Category ID | |
int | $dPriceFrom Price from | |
int | $dPriceTo Price to |
Definition at line 175 of file oxutilscount.php.
oxUtilsCount.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 |
Definition at line 204 of file oxutilscount.php.
oxUtilsCount.setManufacturerArticleCount | ( | $ | aCache, | |
$ | sCatId, | |||
$ | sActIdent | |||
) |
Saves and returns Manufacturers category article count into cache
array | $aCache Category cache data | |
string | $sCatId Unique Manufacturer category ident | |
string | $sActIdent Manufacturer category ID |
Definition at line 236 of file oxutilscount.php.
oxUtilsCount.resetCatArticleCount | ( | $ | sCatId = null |
) |
Resets category (all categories) article count
string | $sCatId Category/vendor/manufacturer ID |
Definition at line 266 of file oxutilscount.php.
oxUtilsCount.resetPriceCatArticleCount | ( | $ | iPrice | ) |
Resets price categories article count
int | $iPrice article price |
Definition at line 287 of file oxutilscount.php.
oxUtilsCount.getTagArticleCount | ( | $ | sTag, | |
$ | iLang | |||
) |
Returns specified Tag article count
string | $sTag tag to search article count | |
int | $iLang language |
Definition at line 319 of file oxutilscount.php.
oxUtilsCount.resetVendorArticleCount | ( | $ | sVendorId = null |
) |
Resets vendor (all vendors) article count
string | $sVendorId Category/vendor ID |
Definition at line 343 of file oxutilscount.php.
oxUtilsCount.resetManufacturerArticleCount | ( | $ | sManufacturerId = null |
) |
Resets Manufacturer (all Manufacturers) article count
string | $sManufacturerId Category/Manufacturer ID |
Definition at line 365 of file oxutilscount.php.
oxUtilsCount._getCatCache | ( | ) | [protected] |
Loads and returns category cache data array
Definition at line 385 of file oxutilscount.php.
oxUtilsCount._setCatCache | ( | $ | aCache | ) | [protected] |
Writes category data into cache
array | $aCache A cacheable data |
Definition at line 412 of file oxutilscount.php.
oxUtilsCount._setVendorCache | ( | $ | aCache | ) | [protected] |
Writes vendor data into cache
array | $aCache A cacheable data |
Definition at line 425 of file oxutilscount.php.
oxUtilsCount._setManufacturerCache | ( | $ | aCache | ) | [protected] |
Writes Manufacturer data into cache
array | $aCache A cacheable data |
Definition at line 438 of file oxutilscount.php.
oxUtilsCount._getVendorCache | ( | ) | [protected] |
Loads and returns category/vendor cache data array
Definition at line 449 of file oxutilscount.php.
oxUtilsCount._getManufacturerCache | ( | ) | [protected] |
Loads and returns category/Manufacturer cache data array
Definition at line 473 of file oxutilscount.php.
oxUtilsCount._getUserViewId | ( | $ | blReset = false |
) | [protected] |
Returns user view id (Shop, language, RR group index...)
bool | $blReset optiona, default = false |
Definition at line 499 of file oxutilscount.php.
oxUtilsCount.$_instance = null [static, private] |
Definition at line 13 of file oxutilscount.php.
oxUtilsCount.$_sUserViewId = null [protected] |
Definition at line 20 of file oxutilscount.php.