Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
CMFCore.tests.base.dummy.DummyUserFolder Class Reference
Inheritance diagram for CMFCore.tests.base.dummy.DummyUserFolder:
Inheritance graph
Collaboration diagram for CMFCore.tests.base.dummy.DummyUserFolder:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def getUsers
def getUser
def getUserById
def userFolderDelUsers

Static Public Attributes

string id = 'acl_users'

Detailed Description

A dummy User Folder with 2 dummy Users.

Definition at line 329 of file

Constructor & Destructor Documentation

Definition at line 335 of file

00336     def __init__(self):
00337         setattr( self, 'user_foo', DummyUser(id='user_foo') )
00338         setattr( self, 'user_bar', DummyUser(id='user_bar') )
00339         setattr( self, 'all_powerful_Oz', OmnipotentUser() )

Member Function Documentation

Definition at line 343 of file

00344     def getUser(self, name):
00345         return getattr(self, name, None)

Here is the caller graph for this function:

def CMFCore.tests.base.dummy.DummyUserFolder.getUserById (   self,
  default = None 

Definition at line 346 of file

00347     def getUserById(self, id, default=None):
00348         return self.getUser(id)

Here is the call graph for this function:

Definition at line 340 of file

00341     def getUsers(self):
00342         pass

Definition at line 349 of file

00350     def userFolderDelUsers(self, names):
00351         for user_id in names:
00352             delattr(self, user_id)

Member Data Documentation

string = 'acl_users' [static]

Definition at line 333 of file

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