

Public Member Functions | |
| __construct () | |
| assign ($dbRecord) | |
| load ($oxId) | |
| loadList ($sType, $aIds, $blLoadEmpty=false, $iLoadInLang=null) | |
Protected Member Functions | |
| _insert () | |
Protected Attributes | |
| $_blDisableShopCheck = true | |
| $_sClassName = 'oxreview' | |
| oxReview.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
| oxReview.assign | ( | $ | dbRecord | ) |
Calls parent.assign and assigns review writer data
| array | $dbRecord database record |
| oxReview.load | ( | $ | oxId | ) |
Loads object review information. Returns true on success.
| string | $oxId ID of object to load |
| oxReview._insert | ( | ) | [protected] |
Inserts object data fiels in DB. Returns true on success.
| oxReview.loadList | ( | $ | sType, | |
| $ | aIds, | |||
| $ | blLoadEmpty = false, |
|||
| $ | iLoadInLang = null | |||
| ) |
get oxList of reviews for given object ids and type
| 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 |
oxReview.$_blDisableShopCheck = true [protected] |
oxReview.$_sClassName = 'oxreview' [protected] |
1.5.5