Back to index

plone3  3.1.7
Public Member Functions
CMFCore.interfaces._tools.IContentTypeRegistryPredicate Class Reference
Inheritance diagram for CMFCore.interfaces._tools.IContentTypeRegistryPredicate:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.interfaces._tools.IContentTypeRegistryPredicate:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __call__
def getTypeLabel
def predicateWidget

Detailed Description

Match a given name/typ/body to a portal type.

The registry will call the predictate's 'edit' method, passing the fields
of the record.

Definition at line 410 of file _tools.py.


Member Function Documentation

Match a given name/typ/body to a portal type.

The registry will call the predictate's 'edit' method, passing the fields
of the record.
Return true if the rule matches, else false. 

Definition at line 418 of file _tools.py.

00418 
00419     def __call__(name, typ, body):
00420         """ Return true if the rule matches, else false. """

Here is the caller graph for this function:

Return a human-readable label for the predicate type. 

Definition at line 421 of file _tools.py.

00421 
00422     def getTypeLabel():
00423         """ Return a human-readable label for the predicate type. """

Return a snippet of HTML suitable for editing the predicate.

o This method may be defined via DTMLFile or PageTemplateFile
  (the tool will call it appropriately, if it is DTML).

o The snippet should arrange for values to be marshalled by
  ZPublisher as a ':record', with the ID of the predicate as the
  name of the record.

Definition at line 424 of file _tools.py.

00424 
00425     def predicateWidget():
00426         """ Return a snippet of HTML suitable for editing the predicate.
00427 
00428         o This method may be defined via DTMLFile or PageTemplateFile
00429           (the tool will call it appropriately, if it is DTML).
00430 
00431         o The snippet should arrange for values to be marshalled by
00432           ZPublisher as a ':record', with the ID of the predicate as the
00433           name of the record.
00434         """
00435 


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