Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
CMFCore.tests.test_CMFCatalogAware.DummyOldBrain Class Reference
Inheritance diagram for CMFCore.tests.test_CMFCatalogAware.DummyOldBrain:
Inheritance graph

List of all members.

Public Member Functions

def __init__
def getPath
def getObject

Public Attributes


Detailed Description

Definition at line 52 of file

Constructor & Destructor Documentation

Definition at line 53 of file

00054     def __init__(self, ob, path):
00055         self.ob = ob
00056 = ob.getId()
        self.path = path

Member Function Documentation

Definition at line 59 of file

00060     def getObject(self):
00061         if == 'missing':
00062             if self.ob.GETOBJECT_RAISES:
00063                 raise NotFound("missing")
00064             else:
00065                 return None
00066         if == 'hop':
00067             raise ValueError("security problem for this object")
00068         return self.ob

Here is the caller graph for this function:

Definition at line 57 of file

00058     def getPath(self):
        return self.path

Here is the caller graph for this function:

Member Data Documentation

Reimplemented in CMFCore.tests.test_CMFCatalogAware.DummyBrain.

Definition at line 55 of file

Definition at line 54 of file

Definition at line 56 of file

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