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

def zope-photo-1.2.3::PhotoFolder::PhotoFolder::displayIds (   self,
  exclude = ('thumbnail', 

Return list of display Ids.

Definition at line 149 of file PhotoFolder.py.

00149                                                 :
        """Return list of display Ids."""
        ids = self._displays.keys()
        # Exclude specified displays
        for id in exclude:
            if id in ids:
        # Sort by size in bytes
        ids.sort(lambda x,y,d=self._displays: cmp(d[x][0]*d[x][1], d[y][0]*d[y][1]))
        return ids

    def displayMap(self):

Generated by  Doxygen 1.6.0   Back to index