This Class contains helper functions for user feedback functionality.
More...
|
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.
|
|
This Class contains helper functions for user feedback functionality.
- Copyright
- 2020 Shamim Rezaie shami.nosp@m.m@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ before_standard_footer_html_generation()
Callback for the before_standard_footer_html_generation hook to add a user feedback footer link if configured.
- Parameters
-
before_standard_footer_html_generation | $hook | |
◆ can_give_feedback()
static core_userfeedback::can_give_feedback |
( |
| ) |
|
|
static |
Whether the current can give feedback.
- Return values
-
◆ make_link()
static core_userfeedback::make_link |
( |
| ) |
|
|
static |
Prepare and return the URL of the feedback site.
- Return values
-
◆ should_display_reminder()
static core_userfeedback::should_display_reminder |
( |
| ) |
|
|
static |
Indicates whether the feedback reminder block should be shown or not.
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/userfeedback.php