Logo Search packages:      
Sourcecode: zope-cmfbibliographyat version File versions  Download package

def CMFBibliographyAT::tool::bibliography::BibliographyTool::getRenderer (   self,
  format 
)

returns the renderer for the specified format
first looks for a renderer with the 'format' name
next looks for a renderer with the 'format' extension

Definition at line 195 of file bibliography.py.

00195                                  :
        """
        returns the renderer for the specified format
        first looks for a renderer with the 'format' name
        next looks for a renderer with the 'format' extension
        """
        for renderer in self.Renderers.objectValues():
            if format.lower() == renderer.getFormatName().lower():
                return renderer
            if format.lower() == renderer.getFormatExtension().lower():
                return renderer
        return None

    security.declareProtected(View, 'getEntries')
    def getEntries(self, source, format, file_name=None):


Generated by  Doxygen 1.6.0   Back to index