// returns array feedback (integer Id, string Titel, string HandleName, string Message, string userWL, array time (Hours, Minutes)) or exception break; case 'closeFeedback': $response = BLAM::closeFeedback($_POST['id']); // returns null or exception break; case 'addChat': $response = BLAM::addChat($_POST['text']); // returns ChatId or exception break; case 'getChats': $response = BLAM::getChats($_POST['last_id'], $_POST['date']); // returns array chat(int MessageID, string Text, string Username, string Avatar, array time(hours, minutes)) or exception break; case 'getTicketTreeNew': $response = BLAM::getTicketTreeNew(); // returns array tickets(integer Id, string Titel,array time(Hours,Minutes)) or exception break; case 'getTicketTreeOpen': $response = BLAM::getTicketTreeOpen(); // returns array tickets(integer Id, string Titel, string UserId,,array time(Hours,Minutes)) or exception break; case 'getTicketTreeClosed': $response = BLAM::getTicketTreeClosed(); // returns array tickets(integer Id, string Titel, string UserId,,array time(Hours,Minutes)) or exception break; case 'getTicketDetail': $response = array('id' => $_POST['id'], 'title' => "Test titel", 'text' => "Een raar bericht, maar wel heel lang en vervelend en nog veel veeel veeeeeel meeer", 'status' => "Geen idee", 'user' => "Anne", 'created' => "2011-01-01 01:02:03", 'modified' => "2011-02-02 04:05:06", 'children' => null); // returns integer Id, string Status, string Titel, string UserId, string Text, string Locatie, array time(Hours,Minutes), integer MessageId, string MessageUserId, string MessageText or exception break; case 'closeTicket':