Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
quizaccess_seb\link_generator Class Reference

Generate the links to open/download the Safe Exam Browser with correct settings. More...

Static Public Member Functions

static get_link (string $cmid, bool $seb=false, bool $secure=true)
 Get a link to force the download of the file over https or sebs protocols.
 

Detailed Description

Generate the links to open/download the Safe Exam Browser with correct settings.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_link()

static quizaccess_seb\link_generator::get_link ( string $cmid,
bool $seb = false,
bool $secure = true )
static

Get a link to force the download of the file over https or sebs protocols.

Parameters
string$cmidCourse module ID.
bool$sebWhether to use a seb:// scheme or fall back to http:// scheme.
bool$secureWhether to use HTTPS or HTTP protocol.
Return values
stringA URL.

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