Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
mod_bigbluebuttonbn\local\extension\mod_instance_helper Class Reference

Class defining a way to deal with instance save/update/delete in extension. More...

Public Member Functions

 add_instance (stdClass $bigbluebuttonbn)
 Runs any processes that must run before a bigbluebuttonbn insert/update.
 
 delete_instance (int $cmid)
 Runs any processes that must be run after a bigbluebuttonbn delete.
 
 get_join_tables ()
 Get any join table name that is used to store additional data for the instance.
 
 update_instance (stdClass $bigbluebuttonbn)
 Runs any processes that must be run after a bigbluebuttonbn insert/update.
 

Detailed Description

Class defining a way to deal with instance save/update/delete in extension.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Laurent David (laure.nosp@m.nt@c.nosp@m.all-l.nosp@m.earn.nosp@m.ing.f.nosp@m.r)

Member Function Documentation

◆ add_instance()

mod_bigbluebuttonbn\local\extension\mod_instance_helper::add_instance ( stdClass $bigbluebuttonbn)

Runs any processes that must run before a bigbluebuttonbn insert/update.

Parameters
stdClass$bigbluebuttonbnBigBlueButtonBN form data

◆ delete_instance()

mod_bigbluebuttonbn\local\extension\mod_instance_helper::delete_instance ( int $cmid)

Runs any processes that must be run after a bigbluebuttonbn delete.

Parameters
int$cmid

◆ get_join_tables()

mod_bigbluebuttonbn\local\extension\mod_instance_helper::get_join_tables ( )

Get any join table name that is used to store additional data for the instance.

Return values
string[]

◆ update_instance()

mod_bigbluebuttonbn\local\extension\mod_instance_helper::update_instance ( stdClass $bigbluebuttonbn)

Runs any processes that must be run after a bigbluebuttonbn insert/update.

Parameters
stdClass$bigbluebuttonbnBigBlueButtonBN form data

The documentation for this class was generated from the following file: