Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
CMFPlone.TypesTool.TypesTool Class Reference
Inheritance diagram for CMFPlone.TypesTool.TypesTool:
Inheritance graph
[legend]
Collaboration diagram for CMFPlone.TypesTool.TypesTool:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def listTypeTitles

Static Public Attributes

 meta_type = ToolNames.TypesTool
tuple security = ClassSecurityInfo()
string toolicon = 'skins/plone_images/document_icon.gif'

Static Private Attributes

tuple __implements__ = (PloneBaseTool.__implements__, BaseTool.__implements__, )

Detailed Description

Definition at line 7 of file TypesTool.py.


Member Function Documentation

def CMFPlone.TypesTool.TypesTool.listTypeTitles (   self,
  container = None 
)
Return a dictionary of id/Title combinations 

Definition at line 16 of file TypesTool.py.

00016 
00017     def listTypeTitles(self, container=None):
00018         """ Return a dictionary of id/Title combinations """
00019         typenames = {}
00020         for t in self.listTypeInfo( container ):
00021             name = t.getId()
00022             if name:
00023                 typenames[ name ] = t.title_or_id()
00024 
00025         return typenames
00026 
00027 TypesTool.__doc__ = BaseTool.__doc__
00028 
00029 InitializeClass(TypesTool)

Here is the call graph for this function:


Member Data Documentation

tuple CMFPlone.TypesTool.TypesTool.__implements__ = (PloneBaseTool.__implements__, BaseTool.__implements__, ) [static, private]

Definition at line 13 of file TypesTool.py.

Definition at line 9 of file TypesTool.py.

tuple CMFPlone.TypesTool.TypesTool.security = ClassSecurityInfo() [static]

Definition at line 10 of file TypesTool.py.

string CMFPlone.TypesTool.TypesTool.toolicon = 'skins/plone_images/document_icon.gif' [static]

Definition at line 11 of file TypesTool.py.


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