◆ getNext()
OxidEsales\EshopCommunity\Core\Counter::getNext |
( |
|
$ident | ) |
|
Return the next counter value for a given type of counter
- Parameters
-
string | $ident | Identifies the type of counter. E.g. 'oxOrder' |
- Exceptions
-
- Returns
- int Next counter value
◆ update()
OxidEsales\EshopCommunity\Core\Counter::update |
( |
|
$ident, |
|
|
|
$count |
|
) |
| |
Update the counter value for a given type of counter, but only when it is greater than the current value
- Parameters
-
string | $ident | Identifies the type of counter. E.g. 'oxOrder' |
integer | $count | New counter value |
- Exceptions
-
- Returns
- int Number of affected rows
The documentation for this class was generated from the following file: