[CMF-checkins] CVS: Products/CMFDefault - DublinCore.py:1.40

Yvo Schubbe y.2004_ at wcm-solutions.de
Tue Oct 12 05:23:48 EDT 2004


Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv6983/CMFDefault

Modified Files:
	DublinCore.py 
Log Message:
- added setCreators method


=== Products/CMFDefault/DublinCore.py 1.39 => 1.40 ===
--- Products/CMFDefault/DublinCore.py:1.39	Tue Aug 24 17:12:58 2004
+++ Products/CMFDefault/DublinCore.py	Tue Oct 12 05:23:18 2004
@@ -343,6 +343,12 @@
         """
         self.title = title
 
+    security.declareProtected(ModifyPortalContent, 'setCreators')
+    def setCreators(self, creators):
+        """ Set Dublin Core Creator elements - resource authors.
+        """
+        self.creators = tuplize('creators', creators)
+
     security.declareProtected(ModifyPortalContent, 'setSubject')
     def setSubject( self, subject ):
         """ Set Dublin Core Subject element - resource keywords.



More information about the CMF-checkins mailing list