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

def CMFPhotoAlbum::PhotoAlbum::PhotoAlbum::listOtherContents (   self )
lists all other contents except Photo and Photo Album 

Definition at line 97 of file PhotoAlbum.py.

                               :
        """ lists all other contents except Photo and Photo Album """
        allowedContentTypes = self.getTypeInfo().allowed_content_types

        # filter is a builtin reserved name!
        filtered = [type for type in allowedContentTypes if type not in ['Photo', 'Photo Album'] ]
        
        if filtered:
            return self.listFolderContents(contentFilter={'Type':filter})


Generated by  Doxygen 1.6.0   Back to index