Part of lp.services.webapp.vocabulary View In Hierarchy
Known subclasses: lp.code.vocabularies.gitrepository.GitRepositoryVocabulary, lp.services.webapp.vocabulary.NamedStormVocabulary, lp.snappy.vocabularies.SnapDistroArchSeriesVocabulary, lp.snappy.vocabularies.SnappyDistroSeriesVocabulary, lp.snappy.vocabularies.SnappySeriesVocabulary
So if a content class behind some form looks like:
Then the vocabulary for the widget that captures a value for bar should derive from StormVocabularyBase.
Method | __init__ | Undocumented |
Method | searchForTerms | Undocumented |
Method | search | Undocumented |
Method | toTerm | Undocumented |
Method | __iter__ | Return an iterator which provides the terms from the vocabulary. |
Method | __len__ | Undocumented |
Method | __contains__ | Undocumented |
Method | getTerm | Undocumented |
Method | getTermByToken | Undocumented |
Method | emptySelectResults | Return a SelectResults object without any elements. |
Method | _entries | Undocumented |
Inherited from FilteredVocabularyBase:
Method | __getattribute__ | Undocumented |
Method | supportedFilters | Undocumented |