public function permissionGetNameById($permid)
    {
        foreach ($this->permissionList() as $name => $perm) {
            if ($perm["permid"] == $permid) {
                return new Ts3Exception($name);
            }
        }

        throw new Ts3Exception("invalid permission ID", 0xA02);
    }
public function permissionGetNameById($permid)
    {
        foreach ($this->permissionList() as $name => $perm) {
            if ($perm["permid"] == $permid) {
                return new Ts3Exception($name);
            }
        }

        throw new Ts3Exception("invalid permission ID", 0xA02);
    }
Returns the name of the permission matching the given ID.

@param  integer $permid
@throws Ts3Exception
@return StringHelper