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

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

Add photo property.

Definition at line 215 of file PhotoFolder.py.

00215                                                                     :
        """Add photo property."""
        photosheet = self.propertysheets.get('photos')
        photosheet.manage_addProperty(id, value, type)
        # Update contained Photo objects
        for photo in self.objectValues(['Photo']):
            try: photo.manage_addProperty(id, value, type)
            except: pass
        if REQUEST is not None:
            return self.manage_editPhotoPropertiesForm(REQUEST,
                        manage_tabs_message='Photo property added.')

    security.declareProtected('Manage properties', 'manage_editDisplaysForm')
    manage_editDisplaysForm = DTMLFile('dtml/editFolderDisplaysForm', globals())

Generated by  Doxygen 1.6.0   Back to index