Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
plone.app.vocabularies.tests.base.DummyCatalog Class Reference

List of all members.

Public Member Functions

def __init__
def __call__
def getrid

Private Member Functions

def _catalog

Detailed Description

Definition at line 64 of file base.py.


Constructor & Destructor Documentation

Definition at line 66 of file base.py.

00066 
00067     def __init__(self, values):
00068         for r in values:
00069             self[r] = Brain(r)

Here is the caller graph for this function:


Member Function Documentation

Definition at line 70 of file base.py.

00070 
00071     def __call__(self, **values):
00072         if 'SearchableText' in values:
00073             st = values['SearchableText']
00074             if st.startswith('error'):
00075                 raise ParseError
00076         return self.values()

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 78 of file base.py.

00078 
00079     def _catalog(self):
00080         return self

Definition at line 81 of file base.py.

00081 
00082     def getrid(self, value):
00083         return value in self and value or None

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