function bbb_api_execute_query in BigBlueButton 6
Same name in this branch
- 6 includes/api-0.64.bbb.inc \bbb_api_execute_query()
- 6 includes/api-0.7.bbb.inc \bbb_api_execute_query()
10 calls to bbb_api_execute_query()
- bbb_api_create in includes/
api-0.64.bbb.inc - Create Meeting (create)
- bbb_api_create in includes/
api-0.7.bbb.inc - Create Meeting (create)
- bbb_api_end in includes/
api-0.64.bbb.inc - End Meeting (end)
- bbb_api_getMeetingInfo in includes/
api-0.64.bbb.inc - Get Meeting Info (getMeetingInfo)
- bbb_api_getMeetingInfo in includes/
api-0.7.bbb.inc - Get Meeting Info (getMeetingInfo)
File
- includes/
api-0.64.bbb.inc, line 236 - Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.
Code
function bbb_api_execute_query($request) {
bbb_api_debug($request);
//debug
$xml = @simplexml_load_file($request);
$response = bbb_api_parse_response($xml);
bbb_api_debug($response);
//debug
if ($response->returncode == 'SUCCESS') {
unset($response->returncode);
if ($response->running) {
// Switch to boolean
$response->running = strtoupper($response->running) == 'TRUE' ? TRUE : FALSE;
}
return $response;
}
else {
watchdog('big blue button', 'Error %message_key:%message', array(
'%message_key' => $response->messageKey,
'%message' => t($response->message),
), WATCHDOG_ERROR);
return FALSE;
}
}