src/pyams_content/component/gallery/interfaces/__init__.py
changeset 366 9daa8a31a58d
parent 363 86d1a240d4dc
child 395 2a39b333a585
equal deleted inserted replaced
365:e956535074d3 366:9daa8a31a58d
    97     renderer = Choice(title=_("Gallery template"),
    97     renderer = Choice(title=_("Gallery template"),
    98                       description=_("Presentation template used for this gallery"),
    98                       description=_("Presentation template used for this gallery"),
    99                       vocabulary='PyAMS gallery renderers')
    99                       vocabulary='PyAMS gallery renderers')
   100 
   100 
   101     def append(self, value, notify=True):
   101     def append(self, value, notify=True):
   102         """Append new file to gallery"""
   102         """Append new file to gallery
       
   103 
       
   104         @param value: the media object to append
       
   105         @param boolean notify: if 'False', the given value object is pre-located so that
       
   106             adding events are not notified
       
   107         """
   103 
   108 
   104     def get_visible_medias(self):
   109     def get_visible_medias(self):
   105         """Get iterator over visible medias"""
   110         """Get iterator over visible medias"""
   106 
   111 
   107 
   112