Update OpenFireRestApi.php
Update OpenFireRestApi.php

Added parameters (with defaults) to createChatRoom

Added public properties $bcastRoles (array for use with createChatRoom, example: $api->bcast_roles = array('broadcastPresenceRole' => array('moderator', 'participant', 'visitor'));), $useBasicAuth (boolean to use username/password combo, instead of secret), $basicUser and $basicPwd.

Added public class method getAllChatRooms
gidkom/php-openfire-restapi