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.

Differences Between: [Versions 400 and 401] [Versions 401 and 402] [Versions 401 and 403]

Config all BigBlueButtonBN instances in this course.

Author: Jesus Federico (jesus [at] blindsidenetworks [dt] com)
Author: Fred Dixon (ffdixon [at] blindsidenetworks [dt] com)
Copyright: 2010 onwards, Blindside Networks Inc
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 692 lines (34 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: mod_bigbluebuttonbn_mod_form  - X-Ref

Moodle class for mod_form.

definition()   X-Ref
Define (add) particular settings this activity can have.

return: void

get_instance_type_profiles()   X-Ref
Get instance type profile.

return: array|array[]

data_preprocessing(&$defaultvalues)   X-Ref
Prepare the attachment for being stored.

param: array|null $defaultvalues
return: void

validation($data, $files)   X-Ref
Validates the data processed by the form.

param: mixed $data
param: array $files
return: array

add_completion_rules()   X-Ref
Add elements for setting the custom completion rules.

return: array List of added element names, or names of wrapping group elements.

completion_rule_enabled($data)   X-Ref
Called during validation to see whether some module-specific completion rules are selected.

param: array $data Input data not yet validated.
return: bool True if one or more rules is enabled, false if none are.

data_postprocessing($data)   X-Ref
Allows module to modify the data returned by form get_data().
This method is also called in the bulk activity completion form.

Only available on moodleform_mod.

param: stdClass $data the form data to be modified.

bigbluebuttonbn_mform_add_block_profiles(MoodleQuickForm &$mform, array $profiles)   X-Ref
Function for showing the block for selecting profiles.

param: MoodleQuickForm $mform
param: array $profiles
return: void

bigbluebuttonbn_mform_add_block_general(MoodleQuickForm &$mform, array $cfg)   X-Ref
Function for showing the block for general settings.

param: MoodleQuickForm $mform
param: array $cfg
return: void

bigbluebuttonbn_mform_add_block_room_room(MoodleQuickForm &$mform, array $cfg)   X-Ref
Function for showing details of the room settings for the room.

param: MoodleQuickForm $mform
param: array $cfg
return: void

bigbluebuttonbn_mform_add_block_locksettings(MoodleQuickForm &$mform, array $cfg)   X-Ref
Function for showing details of the lock settings for the room.

param: MoodleQuickForm $mform
param: array $cfg
return: void

bigbluebuttonbn_mform_add_block_room_recordings(MoodleQuickForm &$mform, array $cfg)   X-Ref
Function for showing details of the recording settings for the room.

param: MoodleQuickForm $mform
param: array $cfg
return: void

bigbluebuttonbn_mform_add_block_room(MoodleQuickForm &$mform, array $cfg)   X-Ref
Function for showing the block for room settings.

param: MoodleQuickForm $mform
param: array $cfg
return: void

bigbluebuttonbn_mform_add_block_preuploads(MoodleQuickForm &$mform, array $cfg)   X-Ref
Function for showing the block for preuploaded presentation.

param: MoodleQuickForm $mform
param: array $cfg
return: void

bigbluebuttonbn_mform_add_block_user_role_mapping(MoodleQuickForm &$mform, array $participantlist)   X-Ref
Function for showing the block for setting participant roles.

param: MoodleQuickForm $mform
param: array $participantlist
return: void

bigbluebuttonbn_mform_add_block_guest_access(MoodleQuickForm $mform, array $cfg, stdClass $current)   X-Ref
Function to add guest acces settings to the instance

param: MoodleQuickForm $mform
param: array $cfg
param: stdClass $current
return: void

bigbluebuttonbn_mform_add_block_schedule(MoodleQuickForm &$mform, stdClass &$activity)   X-Ref
Function for showing the block for integration with the calendar.

param: MoodleQuickForm $mform
param: stdClass $activity
return: void

bigbluebuttonbn_mform_add_element(MoodleQuickForm &$mform, string $type, string $name, ?string $datatype,?string $descriptionkey = "", $defaultvalue = null, ?array $options = null, ?array $rule = null)   X-Ref
Function for showing an element.

param: MoodleQuickForm $mform
param: string $type
param: string $name
param: string|null $datatype
param: string|null $descriptionkey
param: mixed|null $defaultvalue
param: array|null $options
param: array|null $rule
return: void