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

def CMFPhoto::Extensions::purgePhotoCache::purgePhotoCache (   self  ) 

To be called by an External Method

Definition at line 18 of file purgePhotoCache.py.

00018                          :
    """ To be called by an External Method"""
    out = StringIO() 
    for photo in getAllPhotos(self):
        print >> out, "deleting %s's photo cache" % photo.title_or_id()
        photo.clearCache()
    
    print >> out, "Photo Cache Purged"
    return out.getvalue() 
    return out.getvalue() 


Generated by  Doxygen 1.6.0   Back to index