Article review manager. Performs loading, updating, inserting of article review.
◆ __construct()
OxidEsales\EshopCommunity\Application\Model\Review::__construct |
( |
| ) |
|
Class constructor, initiates parent constructor (parent::oxI18n()).
◆ _insert()
OxidEsales\EshopCommunity\Application\Model\Review::_insert |
( |
| ) |
|
|
protected |
Inserts object data fiels in DB. Returns true on success.
- Returns
- bool
◆ assign()
OxidEsales\EshopCommunity\Application\Model\Review::assign |
( |
|
$dbRecord | ) |
|
Calls parent::assign and assigns review writer data
- Parameters
-
array | $dbRecord | database record |
- Returns
- bool
◆ getObjectId()
OxidEsales\EshopCommunity\Application\Model\Review::getObjectId |
( |
| ) |
|
Retuns review object id
- Returns
- string
◆ getObjectType()
OxidEsales\EshopCommunity\Application\Model\Review::getObjectType |
( |
| ) |
|
Retuns review object type
- Returns
- string
◆ getReviewAndRatingListByUserId()
OxidEsales\EshopCommunity\Application\Model\Review::getReviewAndRatingListByUserId |
( |
|
$userId | ) |
|
Returns ReviewAndRating list by User id.
- Parameters
-
- Returns
- array
◆ load()
OxidEsales\EshopCommunity\Application\Model\Review::load |
( |
|
$oxId | ) |
|
Loads object review information. Returns true on success.
- Parameters
-
string | $oxId | ID of object to load |
- Returns
- bool
◆ loadList()
OxidEsales\EshopCommunity\Application\Model\Review::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
◆ $_blDisableShopCheck
OxidEsales\EshopCommunity\Application\Model\Review::$_blDisableShopCheck = true |
|
protected |
◆ $_sClassName
OxidEsales\EshopCommunity\Application\Model\Review::$_sClassName = 'oxreview' |
|
protected |
The documentation for this class was generated from the following file: