oxGbEntry Class Reference

Inheritance diagram for oxGbEntry:

Inheritance graph
Collaboration diagram for oxGbEntry:

Collaboration graph

List of all members.

Detailed Description

Guestbook entry object manager. Loads available guestbook entries, performs some SQL queries.

Definition at line 8 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'

Constructor & Destructor Documentation

oxGbEntry.__construct (  ) 

Class constructor, executes parent method parent.oxI18n().

Reimplemented from oxBase.

Definition at line 29 of file oxgbentry.php.

Member Function Documentation

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._insert (  )  [protected]

Inserts new guestbook entry. Returns true on success.


Reimplemented from oxBase.

Definition at line 60 of file oxgbentry.php.

oxGbEntry.getAllEntries ( iStart,

Loads guestbook entries returns them.

integer $iStart start for sql limit
integer $iNrofCatArticles nr of items per page
string $sSortBy order by
array $oEntries guestbook entries

Definition at line 76 of file oxgbentry.php.

oxGbEntry.getEntryCount (  ) 

Returns count of all entries.

integer $iRecCnt

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
bool result

Definition at line 142 of file oxgbentry.php.

Member Data Documentation

oxGbEntry.$_sClassName = 'oxgbentry' [protected]

Reimplemented from oxBase.

Definition at line 23 of file oxgbentry.php.

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

Generated on Wed Apr 22 12:31:27 2009 for OXID eShop CE by  doxygen 1.5.5