Generate the links to open/download the Safe Exam Browser with correct settings.
More...
|
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. More...
|
|
Generate the links to open/download the Safe Exam Browser with correct settings.
- Copyright
- 2020 Catalyst IT
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ 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 | $cmid | Course module ID. |
bool | $seb | Whether to use a seb:// scheme or fall back to http:// scheme. |
bool | $secure | Whether to use HTTPS or HTTP protocol. |
- Return values
-
The documentation for this class was generated from the following file: