Kentico CMS 7.0 Developer's Guide

Content rating database tables and API classes

Content rating database tables and API classes

Previous topic Next topic Mail us feedback on this topic!  

Content rating database tables and API classes

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

The Content rating module uses the following database table:

 

CMS_Document - this table is used for storing information about documents in the content tree; its DocumentRatingValue column stores the total sum of all ratings of a particular document, while the DocumentRatings column stores the total number of ratings of the document

 

The Content rating API is provided by the following CMS.DocumentEngine namespace classes:

 

TreeProvider - among other methods for document manipulation, this class provides methods for management of documents' ratings

 

The following topics show how methods from these classes can be used to manage abuse reports:

 

Adding document rating

Getting document rating

Modifying document rating

Resetting document rating

 

The API programming and Kentico CMS internals section of this guide contains more API related information, so please refer to it if required.

 

For detailed API documentation, such as a list of all methods from the classes above, please refer to Kentico CMS API Reference.