|
|
|
@ -31,6 +31,7 @@ class bbb |
|
|
|
private $courseCode; |
|
|
|
private $courseCode; |
|
|
|
private $sessionId; |
|
|
|
private $sessionId; |
|
|
|
private $groupId; |
|
|
|
private $groupId; |
|
|
|
|
|
|
|
private $plugin; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Constructor (generates a connection to the API and the Chamilo settings |
|
|
|
* Constructor (generates a connection to the API and the Chamilo settings |
|
|
|
@ -47,6 +48,7 @@ class bbb |
|
|
|
|
|
|
|
|
|
|
|
// Initialize video server settings from global settings |
|
|
|
// Initialize video server settings from global settings |
|
|
|
$plugin = BBBPlugin::create(); |
|
|
|
$plugin = BBBPlugin::create(); |
|
|
|
|
|
|
|
$this->plugin = $plugin; |
|
|
|
|
|
|
|
|
|
|
|
$bbbPlugin = $plugin->get('tool_enable'); |
|
|
|
$bbbPlugin = $plugin->get('tool_enable'); |
|
|
|
|
|
|
|
|
|
|
|
@ -580,7 +582,7 @@ class bbb |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$recordLink = Display::url( |
|
|
|
$recordLink = Display::url( |
|
|
|
get_lang('ViewRecord'), |
|
|
|
$this->plugin->get_lang('ViewRecord'), |
|
|
|
$record['playbackFormatUrl'], |
|
|
|
$record['playbackFormatUrl'], |
|
|
|
['target' => '_blank'] |
|
|
|
['target' => '_blank'] |
|
|
|
); |
|
|
|
); |
|
|
|
|