version 1.68, 2004/05/07 16:37:09
|
version 1.69, 2004/05/07 16:52:04
|
Line 598 class ECHO_collection(Folder, Persistent
|
Line 598 class ECHO_collection(Folder, Persistent
|
"""ECHO Collection""" |
"""ECHO Collection""" |
security=ClassSecurityInfo() |
security=ClassSecurityInfo() |
meta_type='ECHO_collection' |
meta_type='ECHO_collection' |
|
viewClassificationList=viewClassificationListMaster |
displayTypes=displayTypes |
displayTypes=displayTypes |
|
|
|
def getViewClassification(self): |
|
if hasattr(self,'viewClassification'): |
|
return self.viewClassification |
|
else: |
|
return "" |
|
|
def getTitle(self): |
def getTitle(self): |
"""title""" |
"""title""" |
return self.title.encode('utf-8') |
return self.title.encode('utf-8') |
Line 837 class ECHO_collection(Folder, Persistent
|
Line 843 class ECHO_collection(Folder, Persistent
|
else: |
else: |
return "#dddddd" |
return "#dddddd" |
|
|
def changeECHO_collection(self,title,label,description,contentType,responsible,weight,secondaryLink,secondaryLinkTitle,credits=None,sortfield="weight",coords=None,RESPONSE=None,imageTag="",bgcolour=""): |
def changeECHO_collection(self,title,label,description,contentType,responsible,weight,secondaryLink,secondaryLinkTitle,credits=None,sortfield="weight",coords=None,RESPONSE=None,imageTag="",bgcolour="",viewClassification=None): |
"""Änderung der Properties""" |
"""Änderung der Properties""" |
|
|
self.secondaryLink=secondaryLink |
self.secondaryLink=secondaryLink |
self.secondaryLinkTitle=secondaryLinkTitle |
self.secondaryLinkTitle=secondaryLinkTitle |
self.imageTag=imageTag |
self.imageTag=imageTag |
self.bgcolour=bgcolour |
self.bgcolour=bgcolour |
|
self.viewClassification=viewClassification |
|
|
if coords: |
if coords: |
coordsnew=[ string.split(x,",") for x in coords] |
coordsnew=[ string.split(x,",") for x in coords] |