Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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