Method | Description | |
---|---|---|
GetRating ( int itemId, int userId, int portalId, int itemTypeId ) : UserFeedback.Rating |
Gets a user's rating for a specific item.
|
|
Rating ( ) : Engage.Dnn.Publish.Data |
Initializes a new instance of the Rating class.
|
|
Rating ( int ratingUserId, int ratingItemVersionId, int ratingValue ) : Engage.Dnn.Publish.Data |
Initializes a new instance of the Rating class.
|
|
UpdateRating ( int itemId, int userId, int rating, int portalId, int itemTypeId ) : void |
Updates an existing rating.
|
public static GetRating ( int itemId, int userId, int portalId, int itemTypeId ) : UserFeedback.Rating | ||
itemId | int | The item id. |
userId | int | The user id. |
portalId | int | The portal id. |
itemTypeId | int | The item type id. |
return | UserFeedback.Rating |
public Rating ( int ratingUserId, int ratingItemVersionId, int ratingValue ) : Engage.Dnn.Publish.Data | ||
ratingUserId | int | The user id, or |
ratingItemVersionId | int | The item version id. |
ratingValue | int | The rating. |
return | Engage.Dnn.Publish.Data |
public static UpdateRating ( int itemId, int userId, int rating, int portalId, int itemTypeId ) : void | ||
itemId | int | The id of the rated item. |
userId | int | The user id of the rater. |
rating | int | The rating. |
portalId | int | The portal id. |
itemTypeId | int | The item type id. |
return | void |