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

def CacheSetup::content::cache_tool::CacheTool::getRuleAndHeaderSet (   self,
  request,
  object,
  view,
  member 
)

Get the caching rule that applies here and the header set specified by the rule

Definition at line 431 of file cache_tool.py.

00431                                                                 :
        """Get the caching rule that applies here and the header set specified by the rule"""
        rules = self.getRules().objectValues()
        for rule in rules:
            try:
                header_set = rule.getHeaderSet(request, object, view, member)
                if header_set is not None:
                    return (rule, header_set)
            except ConflictError:
                raise
            except:
                log_exc()
        return (None, None)

    security.declarePublic('getUrlsToPurge')
    def getUrlsToPurge(self, object):


Generated by  Doxygen 1.6.0   Back to index