Logo Search packages:      
Sourcecode: zope-photo version File versions

def zope-photo-1.2.3::PhotoFolder::PhotoFolder::manage_purgeDisplays (   self,
  exclude = None,
  REQUEST = None 
)

Purge all generated displays of contained photos.

Definition at line 282 of file PhotoFolder.py.

00282                                                               :
        """Purge all generated displays of contained photos."""
        if exclude is None and REQUEST is not None:
            exclude = REQUEST.form.get('ids', [])
        for photo in self.objectValues(['Photo']):
            photo.manage_purgeDisplays(exclude)
        if REQUEST is not None:
            return self.manage_editDisplaysForm(REQUEST,
                manage_tabs_message='Displays purged.')

    security.declareProtected('Manage properties', 'manage_cleanDisplays')
    def manage_cleanDisplays(self, exclude=None, REQUEST=None):


Generated by  Doxygen 1.6.0   Back to index