Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def summary

Static Public Attributes

list check_types = []
string element = "plone.conditions.PortalType"

Detailed Description

The actual persistent implementation of the portal type condition element.

Note that we must mix in SimpleItem to keep Zope 2 security happy.

Definition at line 31 of file

Member Function Documentation

Definition at line 42 of file

00043     def summary(self):
00044         portal_types = getToolByName(getSite(), 'portal_types')
00045         titles = []
00046         for name in self.check_types:
00047             fti = getattr(portal_types, name, None)
00048             if fti is not None:
00049                 titles.append(fti.title or name)
00050         return _(u"Content types are: ${names}", mapping=dict(names=", ".join(titles)))

Here is the call graph for this function:

Member Data Documentation

Definition at line 38 of file

string = "plone.conditions.PortalType" [static]

Definition at line 39 of file

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