[CMF-checkins] CVS: CMF - portal_types.py:1.4

tseaver@digicool.com tseaver@digicool.com
Tue, 5 Jun 2001 17:43:33 -0400 (EDT)


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory korak.digicool.com:/tmp/cvs-serv9488/CMFCore/interfaces

Modified Files:
	portal_types.py 
Log Message:
 - Make all content types findable by catalog (Tracker #286)


--- Updated File portal_types.py in package CMF --
--- portal_types.py	2001/03/01 22:43:05	1.3
+++ portal_types.py	2001/06/05 21:43:32	1.4
@@ -176,6 +176,14 @@
             is specified, the list will be filtered according to
             the user's permissions.
         """
+
+    def listContentTypes( self, container=None, by_metatype=0 ):
+        """
+            Return list of content types, or the equivalent
+            metatypes;  if 'container' is passed, then filter
+            the list to include only types which are addable in
+            'container'.
+        """
     
     def constructContent( self, contentType, container, id ):
         """