Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Attributes
CMFCore.tests.test_PortalFolder._AllowedUser Class Reference
Inheritance diagram for CMFCore.tests.test_PortalFolder._AllowedUser:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.tests.test_PortalFolder._AllowedUser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def getId
def allowed

Static Public Attributes

 getUserName = getId

Private Attributes

 _lambdas

Detailed Description

Definition at line 834 of file test_PortalFolder.py.


Constructor & Destructor Documentation

def CMFCore.tests.test_PortalFolder._AllowedUser.__init__ (   self,
  allowed_lambda 
)

Definition at line 836 of file test_PortalFolder.py.

00836 
00837     def __init__( self, allowed_lambda ):
00838         self._lambdas = ( allowed_lambda, )


Member Function Documentation

def CMFCore.tests.test_PortalFolder._AllowedUser.allowed (   self,
  object,
  object_roles = None 
)

Definition at line 844 of file test_PortalFolder.py.

00844 
00845     def allowed( self, object, object_roles=None ):
00846         return self._lambdas[ 0 ]( object, object_roles )
00847 

Here is the caller graph for this function:

Definition at line 839 of file test_PortalFolder.py.

00839 
00840     def getId( self ):
00841         return 'unit_tester'


Member Data Documentation

Definition at line 837 of file test_PortalFolder.py.

Definition at line 842 of file test_PortalFolder.py.


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