def METHOD_NAME(params=None):
    "show invitations"
    PtDebugPrint("xInvite: show invitations",level=kDebugDumpLevel)
    passkeys = ""
    invites = ptVault().getInviteFolder()
    if invites is not None:
        l = invites.getChildNodeRefList()
        i = 0;
        for ref in l:
            if i != 0:
                passkeys += ", "
            child = ref.getChild()
            child = child.upcastToTextNoteNode()
            if child is not None:
                passkeys += child.getTitle()
            else:
                PtDebugPrint("xInvite: Couldn't cast list item to note",level=kErrorLevel)
                pass
            i += 1
    else:
        return (1,PtGetLocalizedString("KI.Invitation.MissingInviteFolder"))
    return PtGetLocalizedString("KI.Invitation.Keys") + str(passkeys)