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

def zope-photo-1.2.4::PhotoFolder::PhotoFolder::prevPhotoFolder (   self  ) 

Return previous Photo Folder.

Definition at line 139 of file PhotoFolder.py.

00139                              :
        """Return previous Photo Folder."""
        id = self.getId()
        folderIds = self.aq_parent.objectIds(['Photo Folder'])
        folderIds.sort()
        if id == folderIds[0]:
            return None
        return getattr(self.aq_parent, folderIds[folderIds.index(id)-1])

    security.declareProtected('Access contents information', 'displayIds')
    def displayIds(self, exclude=('thumbnail',)):


Generated by  Doxygen 1.6.0   Back to index