[CMF-checkins] CVS: CMF/CMFCore/interfaces - Dynamic.py:1.4

Yvo Schubbe y.2004_ at wcm-solutions.de
Mon Mar 8 08:46:39 EST 2004


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv31107/CMFCore/interfaces

Modified Files:
	Dynamic.py 
Log Message:
- added getPortalTypeName to DynamicType interface
- marked _getPortalTypeName as deprecated alias


=== CMF/CMFCore/interfaces/Dynamic.py 1.3 => 1.4 ===
--- CMF/CMFCore/interfaces/Dynamic.py:1.3	Thu Feb  5 09:33:31 2004
+++ CMF/CMFCore/interfaces/Dynamic.py	Mon Mar  8 08:46:08 2004
@@ -26,6 +26,14 @@
     """ General interface for dynamic items.
     """
 
+    def getPortalTypeName():
+        """ Get the portal type name that can be passed to portal_types.
+
+        If the object is uninitialized, returns None.
+
+        Permission -- Always available
+        """
+
     def getTypeInfo():
         """ Get the TypeInformation object specified by the portal type.
 




More information about the CMF-checkins mailing list