LLMS_Reviews
LLMS_Reviews class
Description Description
Source Source
File: includes/class.llms.review.php
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |
Methods Methods
- __construct — This is the constructor for this class. It takes care of attaching the functions in this file to the appropriate actions. These actions are: 1) output after course info 2) output after membership info 3 & 4) Add function call to the proper AJAX call
- output — This function handles the HTML output of the reviews and review form.
- process_review — This function adds the review to the database. It is called by the AJAX handler when the submit review button is pressed. This function gathers the data from $_POST and then adds the review with the appropriate content.