/** *This method calls end meeting on the specified meeting in the bigbluebutton server. * *@param meetingID -- the unique meeting identifier used to store the meeting in the bigbluebutton server *@param modPW -- the moderator password of the meeting *@param SALT -- the security salt of the bigbluebutton server *@param URL -- the url of the bigbluebutton server * *@return * - Null if the server is unreachable * - An array containing a returncode, messageKey, message. */ public function endMeeting( $meetingID, $modPW, $URL, $SALT ) { $xml = bbb_wrap_simplexml_load_file( BigBlueButton::endMeetingURL( $meetingID, $modPW, $URL, $SALT ) ); if( $xml ) { //If the xml packet returned failure it displays the message to the user return array('returncode' => $xml->returncode, 'message' => $xml->message, 'messageKey' => $xml->messageKey); } else { //If the server is unreachable, then prompts the user of the necessary action return null; } }