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

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

Delete displays.

Definition at line 546 of file Photo.py.

00546                                                    :
        """Delete displays."""
        d = self._displays
        p = self._photos
        for id in ids:
                del d[id]
                p[id].manage_beforeDelete(None, None)  # ExtImage support
                del p[id]
            except: pass
        self._displays = d
        self._photos = p
        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