code: public static function permissionType($type)
      {
          if ($type == TeamSpeak3::PERM_TYPE_SERVERGROUP) {
              return "Server Group";
          }
          if ($type == TeamSpeak3::PERM_TYPE_CLIENT) {
              return "Client";
          }
          if ($type == TeamSpeak3::PERM_TYPE_CHANNEL) {
              return "Channel";
          }
          if ($type == TeamSpeak3::PERM_TYPE_CHANNELGROUP) {
              return "Channel Group";
          }
          if ($type == TeamSpeak3::PERM_TYPE_CHANNELCLIENT) {
              return "Channel Client";
          }
  
          return "Unknown";
      }
docs: Converts a given permission type ID to a human readable name.
  
  @param  integer $type
  @return string