Public Member Functions | Protected Member Functions | Protected Attributes

oxReview Class Reference

Inheritance diagram for oxReview:
Collaboration diagram for oxReview:

List of all members.

Public Member Functions

 __construct ()
 assign ($dbRecord)
 load ($oxId)
 loadList ($sType, $aIds, $blLoadEmpty=false, $iLoadInLang=null)
 getObjectType ()
 getObjectId ()

Protected Member Functions

 _insert ()

Protected Attributes

 $_blDisableShopCheck = true
 $_sClassName = 'oxreview'

Detailed Description

Article review manager. Performs loading, updating, inserting of article review.

Definition at line 8 of file oxreview.php.


Constructor & Destructor Documentation

oxReview.__construct (  ) 

Class constructor, initiates parent constructor (parent.oxI18n()).

Reimplemented from oxBase.

Definition at line 28 of file oxreview.php.


Member Function Documentation

oxReview._insert (  )  [protected]

Inserts object data fiels in DB. Returns true on success.

Returns:
bool

Reimplemented from oxBase.

Definition at line 75 of file oxreview.php.

oxReview.assign ( dbRecord  ) 

Calls parent.assign and assigns review writer data

Parameters:
array $dbRecord database record
Returns:
bool

Reimplemented from oxBase.

Definition at line 41 of file oxreview.php.

oxReview.getObjectId (  ) 

Retuns review object id

Returns:
string

Definition at line 151 of file oxreview.php.

oxReview.getObjectType (  ) 

Retuns review object type

Returns:
string

Definition at line 141 of file oxreview.php.

oxReview.load ( oxId  ) 

Loads object review information. Returns true on success.

Parameters:
string $oxId ID of object to load
Returns:
bool

Reimplemented from oxBase.

Definition at line 60 of file oxreview.php.

oxReview.loadList ( sType,
aIds,
blLoadEmpty = false,
iLoadInLang = null 
)

get oxList of reviews for given object ids and type

Parameters:
string $sType type of given ids
mixed $aIds given object ids to load, can be array or just one id, given as string
boolean $blLoadEmpty true if want to load empty text reviews
int $iLoadInLang language to select for loading
Returns:
oxList

Definition at line 94 of file oxreview.php.


Member Data Documentation

oxReview.$_blDisableShopCheck = true [protected]

Definition at line 16 of file oxreview.php.

oxReview.$_sClassName = 'oxreview' [protected]

Reimplemented from oxBase.

Definition at line 23 of file oxreview.php.


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