[Checkins] SVN:	zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/interfaces.py	added ITemplateOptionProvider
    Andreas Jung 
    andreas at andreas-jung.com
       
    Sun Oct 19 11:49:42 EDT 2008
    
    
  
Log message for revision 92387:
  added ITemplateOptionProvider
  
Changed:
  U   zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/interfaces.py
-=-
Modified: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/interfaces.py
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/interfaces.py	2008-10-19 12:38:27 UTC (rev 92386)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/interfaces.py	2008-10-19 15:49:40 UTC (rev 92387)
@@ -48,4 +48,12 @@
             is implemented by an utility.
         """
 
+class ITemplateOptionProvider(Interface):
+    """ An extended version of IHTMLExtractor """
 
+    def getTemplateOptions():
+        """ Returns a dict of options to passed into the template
+            for rendering. We assume that the template is able to
+            render the contents itself.
+        """
+
    
    
More information about the Checkins
mailing list