Package CMFCore :: Module ContentTypeRegistry
[show private | hide private]
[frames | no frames]

Module CMFCore.ContentTypeRegistry

Basic Site content type registry

$Id: ContentTypeRegistry.py 21452 2005-05-06 18:20:01Z fguillaume $
Classes
ContentTypeRegistry Registry for rules which map PUT args to a CMF Type Object.
ExtensionPredicate Predicate matching on filename extensions.
klass Predicate matching only on 'name', using regex matching for string patterns (other objects conforming to 'match' and 'pattern' can also be passed).
MajorMinorPredicate Predicate matching on 'major/minor' content types.
MimeTypeRegexPredicate Predicate matching only on 'typ', using regex matching for string patterns (other objects conforming to 'match' can also be passed).
NameRegexPredicate Predicate matching only on 'name', using regex matching for string patterns (other objects conforming to 'match' and 'pattern' can also be passed).

Function Summary
  manage_addRegistry(self, REQUEST)
Add a CTR to self.
  registerPredicateType(typeID, klass)
Add a new predicate type.

Function Details

manage_addRegistry(self, REQUEST=None)

Add a CTR to self.

registerPredicateType(typeID, klass)

Add a new predicate type.

Generated by Epydoc 2.1 on Mon Jun 27 12:45:07 2005 http://epydoc.sf.net