Inheritance diagram for oxGbEntry:
 Collaboration diagram for oxGbEntry:Public Member Functions | |
| __construct () | |
| assign ($dbRecord) | |
| getAllEntries ($iStart, $iNrofCatArticles, $sSortBy) | |
| getEntryCount () | |
| floodProtection ($sShopid=0, $sUserId=null) | |
Protected Member Functions | |
| _insert () | |
Protected Attributes | |
| $_sClassName = 'oxgbentry' | |
Guestbook entry object manager. Loads available guestbook entries, performs some SQL queries.
Definition at line 8 of file oxgbentry.php.
| oxGbEntry.__construct | ( | ) | 
Class constructor, executes parent method parent.oxI18n().
Reimplemented from oxBase.
Definition at line 29 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.assign | ( | $ | dbRecord | ) | 
Calls parent.assign and assigns gb entry writer data
| array | $dbRecord database record | 
Reimplemented from oxBase.
Definition at line 42 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.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.$_sClassName = 'oxgbentry' [protected] | 
        
Reimplemented from oxBase.
Definition at line 23 of file oxgbentry.php.
 1.7.1