Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

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.

return: bool status
param: string $courseid

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

return: array status array
param: string $item

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

return: bool status
param: int $courseid