Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_userfeedback Class Reference

This Class contains helper functions for user feedback functionality. More...

Static Public Member Functions

static can_give_feedback ()
 Whether the current can give feedback.
 
static make_link ()
 Prepare and return the URL of the feedback site.
 
static print_reminder_block ()
 Displays the feedback reminder block.
 
static should_display_reminder ()
 Indicates whether the feedback reminder block should be shown or not.
 

Public Attributes

int const REMIND_AFTER_UPGRADE = 1
 Ask user to give feedback a few days after each major upgrade.
 
int const REMIND_NEVER = 3
 Do not ask user to give feedback.
 
int const REMIND_PERIODICALLY = 2
 Ask user to give feedback periodically.
 

Detailed Description

This Class contains helper functions for user feedback functionality.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ can_give_feedback()

static core_userfeedback::can_give_feedback ( )
static

Whether the current can give feedback.

Return values
bool

◆ make_link()

static core_userfeedback::make_link ( )
static

Prepare and return the URL of the feedback site.

Return values
moodle_url

◆ should_display_reminder()

static core_userfeedback::should_display_reminder ( )
static

Indicates whether the feedback reminder block should be shown or not.

Return values
bool

The documentation for this class was generated from the following file: