Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Private Attributes
Archetypes.Registry.TypeDescription Class Reference

List of all members.

Public Member Functions

def __init__
def schemata
def signature
def portal_type
def read_only
def basetypes

Public Attributes

 id
 klass
 title
 description
 package
 module

Static Private Attributes

int __allow_access_to_unprotected_subobjects__ = 1

Detailed Description

Definition at line 132 of file Registry.py.


Constructor & Destructor Documentation

def Archetypes.Registry.TypeDescription.__init__ (   self,
  klass,
  title = '',
  description = '',
  package = '',
  module = '' 
)

Definition at line 137 of file Registry.py.

00137 
00138                  package='', module=''):
00139         self.id = className(klass)
00140         self.klass = klass
00141         self.title = title or klass.__name__
00142         self.description = description or getDoc(klass)
00143         self.package = package
00144         self.module = module

Here is the caller graph for this function:


Member Function Documentation

Definition at line 160 of file Registry.py.

00160 
00161     def basetypes(self):
00162         return findBaseTypes(self.klass)

Here is the call graph for this function:

Definition at line 154 of file Registry.py.

00154 
00155     def portal_type(self):
00156         return self.klass.portal_type

Here is the caller graph for this function:

Definition at line 157 of file Registry.py.

00157 
00158     def read_only(self):
00159         return 1

Definition at line 145 of file Registry.py.

00145 
00146     def schemata(self):
00147         from Products.Archetypes.Schema import getSchemata
00148         # Build a temp instance.
00149         return getSchemata(self.klass('test'))

Here is the call graph for this function:

Definition at line 150 of file Registry.py.

00150 
00151     def signature(self):
00152         # Build a temp instance.
00153         return self.klass('test').Schema().signature()


Member Data Documentation

Definition at line 134 of file Registry.py.

Definition at line 141 of file Registry.py.

Definition at line 138 of file Registry.py.

Definition at line 139 of file Registry.py.

Definition at line 143 of file Registry.py.

Definition at line 142 of file Registry.py.

Definition at line 140 of file Registry.py.


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