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.

The mod_bigbluebuttonbn resetting instance helper

Author: Laurent David (laurent [at] call-learning [dt] fr)
Copyright: 2021 onwards, Blindside Networks Inc
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 131 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

reset:: (6 methods):
  reset_recordings()
  reset_tags()
  reset_events()
  reset_getstatus()
  reset_course_items()
  reset_logs()


Class: reset  - X-Ref

Utility class for resetting instance routines helper

reset_recordings(int $courseid)   X-Ref
Used by the reset_course_userdata for deleting recordings

This will delete recordings in the database and not in the remote BBB server.

param: int $courseid

reset_tags(int $courseid)   X-Ref
Used by the reset_course_userdata for deleting tags linked to bigbluebuttonbn instances in the course.

param: int $courseid

reset_events($courseid)   X-Ref
Used by the reset_course_userdata for deleting events linked to bigbluebuttonbn instances in the course.

param: string $courseid
return: bool status

reset_getstatus(string $item)   X-Ref
Returns status used on every defined reset action.

param: string $item
return: array status array

reset_course_items()   X-Ref
Define items to be reset by course/reset.php

return: array

reset_logs(int $courseid)   X-Ref
Reset logs for each BBB instance of this course

param: int $courseid
return: bool status