Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFCore.ContentTypeRegistry Namespace Reference

Classes

class  MajorMinorPredicate
class  ExtensionPredicate
class  MimeTypeRegexPredicate
class  NameRegexPredicate
class  ContentTypeRegistry

Functions

def registerPredicateType
def manage_addRegistry

Variables

list _predicate_types = []

Function Documentation

def CMFCore.ContentTypeRegistry.manage_addRegistry (   self,
  REQUEST = None 
)
    Add a CTR to self.

Definition at line 564 of file ContentTypeRegistry.py.

00564 
00565 def manage_addRegistry( self, REQUEST=None ):
00566     """
00567         Add a CTR to self.
00568     """
00569     CTRID = ContentTypeRegistry.id
00570     reg = ContentTypeRegistry()
00571     self._setObject( CTRID, reg )
00572     reg = self._getOb( CTRID )
00573 
00574     if REQUEST is not None:
00575         REQUEST[ 'RESPONSE' ].redirect( self.absolute_url()
00576                               + '/manage_main'
00577                               + '?manage_tabs_message=Registry+added.'
00578                               )
    Add a new predicate type.

Definition at line 317 of file ContentTypeRegistry.py.

00317 
00318 def registerPredicateType( typeID, klass ):
00319     """
00320         Add a new predicate type.
00321     """
00322     _predicate_types.append( ( typeID, klass ) )


Variable Documentation

Definition at line 315 of file ContentTypeRegistry.py.