Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.vocabularies.terms.TermWithDescription Class Reference
Inheritance diagram for plone.app.vocabularies.terms.TermWithDescription:
Inheritance graph
[legend]
Collaboration diagram for plone.app.vocabularies.terms.TermWithDescription:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Public Attributes

 description

Detailed Description

  >>> term = TermWithDescription('value', 'token', 'title')
  >>> term.value, term.token, term.title, term.description
  ('value', 'token', 'title', None)

  >>> term = TermWithDescription('value', 'token', 'title',
  ...                            description='description')
  >>> term.value, term.token, term.title, term.description
  ('value', 'token', 'title', 'description')

Definition at line 6 of file terms.py.


Constructor & Destructor Documentation

def plone.app.vocabularies.terms.TermWithDescription.__init__ (   self,
  value,
  token,
  title,
  description = None 
)

Definition at line 19 of file terms.py.

00019 
00020     def __init__(self, value, token, title, description=None):
00021         super(TermWithDescription, self).__init__(value, token=token, title=title)
00022         self.description = description

Here is the caller graph for this function:


Member Data Documentation

Definition at line 21 of file terms.py.


The documentation for this class was generated from the following file: