Just wanted to point out a bug... not sure if fixed yet in the PHP SDK:
<code>
function deleteRoom($r, $list = FALSE) {
if ($r == null)
throw new RTCError("parameter-required");
return $this->delete(strtolower($r), RTCAccount::ROOM_ITEMS, $list);
}
//
// delete a template
//
function deleteTemplate($t, $list = FALSE) {
if ($t == null)
throw new RTCError("parameter-required");
return delete($t, RTCAccount::TEMPLATE_ITEMS, $list);
}
//
// delete an archive
//
function deleteArchive($a, $list = FALSE) {
if ($a == null)
throw new RTCError("parameter-required");
return delete($a, RTCAccount::ARCHIVE_ITEMS, $list);
}
</code>
The return values for deleteTemplate and deleteArchive should be return $this->delete.....