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

def CPSSkins::PortalTheme::PortalTheme::findIdenticalStyles (   self  ) 

Returns a dictionary of identical styles by type

Definition at line 497 of file PortalTheme.py.

00497                                  :
        """
        Returns a dictionary of identical styles by type
        """

        dict = {}
        tmtool = getToolByName(self, 'portal_themes')
        findIdenticalStylesByType = self.findIdenticalStylesByType
        for style_type in tmtool.listStyleTypes():
            meta_type = style_type.getId()
            identical_styles = findIdenticalStylesByType(meta_type=meta_type)
            if identical_styles:
                dict[meta_type] = identical_styles
        return dict

    security.declareProtected(ManageThemes, 'findOrphanedStyles')
    def findOrphanedStyles(self, **kw):


Generated by  Doxygen 1.6.0   Back to index