OXID eShop CE
4.10.5
|
Public Member Functions | |
getNext ($sIdent) | |
update ($sIdent, $iCount) |
Counter class
Definition at line 7 of file oxcounter.php.
oxCounter::getNext | ( | $sIdent | ) |
Returns next counter value
string | $sIdent | counter ident |
Definition at line 17 of file oxcounter.php.
oxCounter::update | ( | $sIdent, | |
$iCount | |||
) |
update counter value, only when it is greater than old one, if counter ident not exist creates counter and sets value
string | $sIdent | counter ident |
integer | $iCount | value |
Definition at line 47 of file oxcounter.php.