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

def CacheSetup::content::base_cache_rule::BaseCacheRule::_getExpressionContext (   self,
  request,
  object,
  view,
  member,
  keywords = (),
  time = None 
) [private]

Construct an expression context for TALES expressions used in cache rules and header sets

Definition at line 239 of file base_cache_rule.py.

00239                                                                                           :
        """Construct an expression context for TALES expressions used in cache rules and header sets"""
        if time is None:
            time = DateTime.DateTime()
        data = {'rule'     : self,
                'request'  : request,
                'object'   : object,
                'view'     : view,
                'member'   : member,
                'time'     : time,
                'keywords' : keywords,
                'modules'  : SecureModuleImporter,
                'nothing'  : None
               }
        return getEngine().getContext(data)

    def _associateTemplate(self, object, template_id):


Generated by  Doxygen 1.6.0   Back to index