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

def CPSSkins::PortalTheme::PortalTheme::getCSSCache (   self  ) 

Returns the CSS RAM cache object

Definition at line 1271 of file PortalTheme.py.

01271                          :
        """ Returns the CSS RAM cache object"""

        virtualrootpath = self.REQUEST.get('VirtualRootPhysicalPath', ())
        cacheid = '_'.join((CSS_RAMCACHE_ID, ) + \
                            virtualrootpath + \
                            self.getPhysicalPath()[1:] )

        try:
            return self.caches[cacheid]
        except KeyError:
            cache = SimpleRAMCache()
            self.caches[cacheid] = cache
            return cache

    security.declarePublic('getJSCache')
    def getJSCache(self):


Generated by  Doxygen 1.6.0   Back to index