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

def zope-photo-1.2.3::PhotoFolder::PhotoFolder::numPhotos (   self  ) 

Return number of Photos in folder tree.

Definition at line 121 of file PhotoFolder.py.

00121                        :
        """Return number of Photos in folder tree."""
        photos = len(self.objectIds(['Photo']))
        for folder in self.objectValues(['Photo Folder']):
            photos = photos + folder.numPhotos()
        return photos

    security.declareProtected('Access contents information', 'nextPhotoFolder')
    def nextPhotoFolder(self):

Generated by  Doxygen 1.6.0   Back to index