Пример #1
0
 /**
  *This method calls isWebinarRunning on the BigBlueButton server.
  *
  *@param meetingID -- the unique webinar identifier used to store the webinar in the bigbluebutton server
  *@param SALT -- the security salt of the bigbluebutton server
  *@param URL -- the url of the bigbluebutton server
  *
  *@return 
  * 	- If SUCCESS it returns an xml packet
  * 	- If the FAILED or the server is unreachable returns a string of 'false'
  */
 public function getWebinarXML($meetingID, $URL, $SALT)
 {
     $xml = bbb_wrap_simplexml_load_file(BigBlueButton::isWebinarRunningURL($meetingID, $URL, $SALT));
     if ($xml && $xml->returncode == 'SUCCESS') {
         return str_replace('</response>', '', str_replace("<?xml version=\"1.0\"?>\n<response>", '', $xml->asXML()));
     } else {
         return 'false';
     }
 }