version 1.67, 2004/05/07 15:59:11
|
version 1.68, 2004/05/07 16:37:09
|
Line 920 class ECHO_collection(Folder, Persistent
|
Line 920 class ECHO_collection(Folder, Persistent
|
|
|
def getGraphicCoords(self): |
def getGraphicCoords(self): |
"""Give list of coordinates""" |
"""Give list of coordinates""" |
subColTypes=['ECHO_collection','ECHO_externalLink','ECHO_resource'] |
subColTypes=['ECHO_collection','ECHO_resource'] |
ids=[] |
ids=[] |
for entrySearch in self.ZopeFind(self,obj_metatypes=subColTypes): |
for entrySearch in self.ZopeFind(self,obj_metatypes=subColTypes): |
object=entrySearch[1] |
object=entrySearch[1] |
Line 935 class ECHO_collection(Folder, Persistent
|
Line 935 class ECHO_collection(Folder, Persistent
|
label=object.title |
label=object.title |
else: |
else: |
label=object.getId() |
label=object.getId() |
ids.append([string.join(coord,", "),object.getId(),label,object,coordtemp,object.getViewClassification()]) |
ids.append([string.join(coord,", "),object.getId(),label,object,coordtemp,object.viewClassification]) |
return ids |
return ids |
|
|
|
|