function bbb_api_parse_response in BigBlueButton 6
Same name in this branch
- 6 includes/api-0.64.bbb.inc \bbb_api_parse_response()
- 6 includes/api-0.7.bbb.inc \bbb_api_parse_response()
- 6 includes/api.bbb.inc \bbb_api_parse_response()
Same name and namespace in other branches
- 7 includes/api.bbb.inc \bbb_api_parse_response()
Parse xml response
Parameters
XML:
Return value
OBJECT
3 calls to bbb_api_parse_response()
- bbb_api_execute_query in includes/
api-0.64.bbb.inc - bbb_api_execute_query in includes/
api-0.7.bbb.inc - bbb_test_connection in includes/
pages.bbb.inc - Test conection to Big Blue Button
File
- includes/
api-0.64.bbb.inc, line 262 - Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.
Code
function bbb_api_parse_response($xml) {
//TODO: Refactor
$response = new StdClass();
if ($xml) {
foreach ($xml as $element => $node) {
$response->{$element} = (string) $node;
}
}
return $response;
}