/** *This method calls end meeting on the specified meeting in the bigbluebuttonbn server. * *@param meetingID -- the unique meeting identifier used to store the meeting in the bigbluebuttonbn server *@param modPW -- the moderator password of the meeting *@param SALT -- the security salt of the bigbluebuttonbn server *@param URL -- the url of the bigbluebuttonbn server * *@return * - Null if the server is unreachable * - An array containing a returncode, messageKey, message. */ public static function endMeeting($meetingID, $modPW, $URL, $SALT) { $xml = BigBlueButtonBN::_wrap_simplexml_load_file(BigBlueButtonBN::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; } }