Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
Archetypes.ReferenceEngine.ContentReferenceCreator Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 contentType

Static Public Attributes

tuple security = ClassSecurityInfo()

Detailed Description

Helper class to construct ContentReference instances based
   on a certain content type 

Definition at line 216 of file ReferenceEngine.py.


Constructor & Destructor Documentation

Definition at line 222 of file ReferenceEngine.py.

00222 
00223     def __init__(self,contentType):
00224         self.contentType=contentType

Here is the caller graph for this function:


Member Function Documentation

Definition at line 225 of file ReferenceEngine.py.

00225 
00226     def __call__(self,*args,**kw):
00227         #simulates the constructor call to the reference class in addReference
00228         res=ContentReference(*args,**kw)
00229         res.contentType=self.contentType
00230 
00231         return res
00232 
00233 InitializeClass(ContentReferenceCreator)
00234 
00235 # The brains we want to use

Here is the caller graph for this function:


Member Data Documentation

Definition at line 223 of file ReferenceEngine.py.

Definition at line 220 of file ReferenceEngine.py.


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