Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Activity base class.

Copyright: 2017 onwards Ankit Agarwal <ankit.agrr@gmail.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 111 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

activity_base:: (4 methods):
  feedback_viewed_events()
  feedback_replied_events()
  feedback_post_action()
  feedback_check_grades()


Class: activity_base  - X-Ref

Activity base class.

feedback_viewed_events()   X-Ref
feedback_viewed_events

return: string[]

feedback_replied_events()   X-Ref
feedback_replied_events

return: string[]

feedback_post_action(\cm_info $cm, $contextid, $userid, $eventnames, $after = false)   X-Ref
feedback_post_action

param: \cm_info $cm
param: int $contextid
param: int $userid
param: string[] $eventnames
param: int $after
return: bool

feedback_check_grades()   X-Ref
feedback_check_grades

return: bool