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

def zope-photo-1.2.4::PhotoFolder::PhotoFolder::manage_addDisplay (   self,
  id,
  width,
  height,
  REQUEST = None 
)

Add display.

Definition at line 259 of file PhotoFolder.py.

00259                                                                 :
        """Add display."""
        d = self._displays
        d[id] = (width, height)
        self._displays = d
        # Update contained Photo objects
        for photo in self.objectValues(['Photo']):
            try: photo.manage_addDisplay(id, width, height)
            except: pass
        if REQUEST is not None:
            return self.manage_editDisplaysForm(REQUEST,
                manage_tabs_message='Display added.')

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


Generated by  Doxygen 1.6.0   Back to index