--- ECHO_content/VLPExtension.py 2008/11/13 14:45:19 1.82 +++ ECHO_content/VLPExtension.py 2008/11/16 12:15:42 1.83 @@ -557,7 +557,15 @@ class VLP_collection(ECHO_collection,Acq {'label':'Update Library','action':'updateCollection'}, {'label':'Update Metadata','action':'updateCollectionMD'}, ) - + def getAllRessources(self): + """getallressources""" + res=self.ZopeFind(self,obj_metatypes=['VLP_resource'],search_sub=1) + ret=[] + for r in res: + ret.append([r[0],r[1].absolute_url()]) + + return ret + def generateSubCollections(self,errorsTXT="",forceUpdate=False,RESPONSE=None): """erzeuge subcollectionen""" logging.debug("generateSubCollections")