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

def CMFPhotoAlbum::PhotoAlbum::PhotoAlbum::PUT_factory (   self,
  name,
  typ,
  body 
)
Dispatcher for PUT requests to non-existent IDs.
PhotoAlbums should always use photos for images.

Definition at line 68 of file PhotoAlbum.py.

                                            :
        """
        Dispatcher for PUT requests to non-existent IDs.
        PhotoAlbums should always use photos for images.
        """
        if typ.startswith('image'):
            self.invokeFactory( 'Photo', name )

            # XXX: this is butt-ugly.
            obj = aq_base( self._getOb( name ) )
            self._delObject( name )
            return obj
   

Generated by  Doxygen 1.6.0   Back to index