Definition at line 9 of file oxgbentry.php.
Public Member Functions | |
__construct () | |
assign ($dbRecord) | |
getAllEntries ($iStart, $iNrofCatArticles, $sSortBy) | |
getEntryCount () | |
floodProtection ($sShopid=0, $sUserId=null) | |
Protected Member Functions | |
_insert () | |
Protected Attributes | |
$_sClassName = 'oxgbentry' |
oxGbEntry.__construct | ( | ) |
Class constructor, executes parent method parent.oxI18n().
Reimplemented from oxBase.
Definition at line 30 of file oxgbentry.php.
oxGbEntry.assign | ( | $ | dbRecord | ) |
Calls parent.assign and assigns gb entry writer data
array | $dbRecord database record |
Reimplemented from oxBase.
Definition at line 43 of file oxgbentry.php.
oxGbEntry._insert | ( | ) | [protected] |
Inserts new guestbook entry. Returns true on success.
Reimplemented from oxBase.
Definition at line 60 of file oxgbentry.php.
oxGbEntry.getAllEntries | ( | $ | iStart, | |
$ | iNrofCatArticles, | |||
$ | sSortBy | |||
) |
Loads guestbook entries returns them.
integer | $iStart start for sql limit | |
integer | $iNrofCatArticles nr of items per page | |
string | $sSortBy order by |
Definition at line 76 of file oxgbentry.php.
oxGbEntry.getEntryCount | ( | ) |
Returns count of all entries.
Definition at line 111 of file oxgbentry.php.
oxGbEntry.floodProtection | ( | $ | sShopid = 0 , |
|
$ | sUserId = null | |||
) |
Method protects from massive message flooding. Max number of posts per day is limited in Admin next to max number of posts per page.
string | $sShopid shop`s OXID | |
string | $sUserId user`s OXID |
Definition at line 142 of file oxgbentry.php.
oxGbEntry.$_sClassName = 'oxgbentry' [protected] |