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

def AttachmentField::AttachmentField::AttachmentField::set (   self,
  instance,
  value,
  kwargs 
)

Assign input value to object. If mimetype is not specified,
pass to processing method without one and add mimetype returned
to kwargs. Assign kwargs to instance.

Definition at line 137 of file AttachmentField.py.

00137                                             :
        """
        Assign input value to object. If mimetype is not specified,
        pass to processing method without one and add mimetype returned
        to kwargs. Assign kwargs to instance.
        """
        self._reset(instance)
        return Field.FileField.set(self, instance, value, **kwargs)

    security.declarePublic("getFilename")
    def getFilename(self, instance, fromBaseUnit=True):


Generated by  Doxygen 1.6.0   Back to index