Public Member Functions

oxCounter Class Reference

List of all members.

Public Member Functions

 getNext ($sIdent)
 update ($sIdent, $iCount)

Detailed Description

Counter class

Definition at line 7 of file oxcounter.php.


Member Function Documentation

oxCounter.getNext ( sIdent  ) 

Returns next counter value

Parameters:
string $sIdent counter ident
Returns:
int

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

Parameters:
string $sIdent counter ident
integer $iCount value
Returns:
int

Definition at line 47 of file oxcounter.php.


The documentation for this class was generated from the following file: