l.a.v.FAQVocabulary(FilteredVocabularyBase) : class documentation

Part of lp.answers.vocabulary View In Hierarchy

Vocabulary containing all the FAQs in an IFAQTarget.
Method __init__ Create a new vocabulary for the context.
Method __len__ See IIterableVocabulary.
Method __iter__ See IIterableVocabulary.
Method __contains__ See IVocabulary.
Method getTerm See IVocabulary.
Method getTermByToken See IVocabularyTokenized.
Method toTerm Return the term for a FAQ.
Method searchForTerms See IHugeVocabulary.

Inherited from FilteredVocabularyBase:

Method __getattribute__ Undocumented
Method supportedFilters Undocumented
def __init__(self, context):
Create a new vocabulary for the context.
ParameterscontextIt should adaptable to IFAQTarget.
def __len__(self):
See IIterableVocabulary.
def __iter__(self):
See IIterableVocabulary.
def __contains__(self, value):
See IVocabulary.
def getTerm(self, value):
See IVocabulary.
def getTermByToken(self, token):
See IVocabularyTokenized.
def toTerm(self, faq):
Return the term for a FAQ.
def searchForTerms(self, query=None, vocab_filter=None):
See IHugeVocabulary.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.