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 27 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 74 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 40 of file oxreview.php.

oxReview.getObjectId (  ) 

Retuns review object id

Returns:
string

Definition at line 149 of file oxreview.php.

oxReview.getObjectType (  ) 

Retuns review object type

Returns:
string

Definition at line 139 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 59 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 92 of file oxreview.php.


Member Data Documentation

oxReview.$_blDisableShopCheck = true [protected]

Definition at line 15 of file oxreview.php.

oxReview.$_sClassName = 'oxreview' [protected]

Reimplemented from oxBase.

Definition at line 22 of file oxreview.php.


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