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

def CPSSkins::PortalTheme::PortalTheme::invalidateCacheEntriesById (   self,
  obid = None,
  REQUEST = None 
)

Removes local cache entries that match a given Templet id.
   This method can be used to clean orphaned cache entries.
   In a ZEO environment only the local RAM cache entries will be erased
   If the Templet still exists then 'templet.expireCache()' should be
   used instead in order to propagate the information between
   ZEO instances.

Definition at line 1154 of file PortalTheme.py.

01154                                                                  :
        """Removes local cache entries that match a given Templet id.
           This method can be used to clean orphaned cache entries.
           In a ZEO environment only the local RAM cache entries will be erased
           If the Templet still exists then 'templet.expireCache()' should be
           used instead in order to propagate the information between
           ZEO instances.
        """

        cache = self.getTempletCache()
        if cache is None:
            return
        cache.delEntries(obid)

    security.declareProtected(ManageThemes, 'invalidateCSSCache')
    def invalidateCSSCache(self):


Generated by  Doxygen 1.6.0   Back to index