Logo Search packages:      
Sourcecode: zope-kupu version File versions

def zope-kupu-1.1.1::plone::librarytool::KupuLibraryTool::addLibrary (   self,
  id,
  title,
  uri,
  src,
  icon 
)

See ILibraryManager

Definition at line 47 of file librarytool.py.

00047                                                    :
        """See ILibraryManager"""
        lib = dict(id=id, title=title, uri=uri, src=src, icon=icon)
        for key, value in lib.items():
            if not(value.startswith('string:') or value.startswith('python:')):
                value = 'string:' + value
            lib[key] = Expression(value)
        self._libraries.append(lib)

    def getLibraries(self, context):


Generated by  Doxygen 1.6.0   Back to index