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

def zope-photo-1.2.3::PhotoFolder::PhotoFolder::manage_delDisplays (   self,
  REQUEST = None 

Delete displays.

Definition at line 243 of file PhotoFolder.py.

00243                                                    :
        """Delete displays."""
        d = self._displays
        for id in ids:
            try: del d[id]
            except: pass
        self._displays = d
        # Update contained Photo objects
        for photo in self.objectValues(['Photo']):
            try: photo.manage_delDisplays(ids)
            except: pass
        if REQUEST is not None:
            return self.manage_editDisplaysForm(REQUEST,
                manage_tabs_message='Displays deleted.')

    security.declareProtected('Manage properties', 'manage_addDisplay')
    def manage_addDisplay(self, id, width, height, REQUEST=None):

Generated by  Doxygen 1.6.0   Back to index