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

def zope-photo-1.2.4::PhotoFolder::PhotoFolder::manage_cleanDisplays (   self,
  exclude = None,
  REQUEST = None 
)

Purge all generated displays of contained photos that have expired.

Definition at line 293 of file PhotoFolder.py.

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

    #
    # WebDAV/FTP support


Generated by  Doxygen 1.6.0   Back to index