Vulcan\PageFeedback\Extensions\PageFeedbackExtension
Class PageFeedback
- Author: Reece Alexander <reece@steadlane.com.au>
Synopsis
class PageFeedbackExtension
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $has_many = ;
- private static bool $form_spam_protection = false;
- // methods
- public void updateCMSFields()
- public float|int getPageRating()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $db
- $form_spam_protection
—
Vulcan\PageFeedback\Extensions\bool
Forces spam protection on all forms relating to this module. - $has_many
Methods
public
- getPageRating() — Gets the average Page Rating
- updateCMSFields()