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

def PolicyHTTPCacheManager::PolicyHTTPCacheManager::PolicyHTTPCacheManager::manage_editProps (   self,
  title,
  settings = None,
  REQUEST = None 
)

Change Settings

Definition at line 170 of file PolicyHTTPCacheManager.py.

00170                                                                   :
        """Change Settings
        """
        if settings is None:
            settings = REQUEST
        self.title = str(title)
        remove_last_modified = settings.get('remove_last_modified') and 1 or 0
        self._settings = {
            'remove_last_modified': remove_last_modified}
        cache = self.ZCacheManager_getCache()
        cache.initSettings(self._settings)
        if REQUEST is not None:
            return self.manage_main(
                self, REQUEST, manage_tabs_message='Properties changed.')

    manage_stats = DTMLFile('dtml/statsPolicy', globals())


Generated by  Doxygen 1.6.0   Back to index