version 1.12, 2004/02/03 17:31:16
|
version 1.13, 2004/02/09 11:45:46
|
Line 1
|
Line 1
|
|
"""New version of the product started February, 8th. Without scientific classification, use content-type for further classification.""" |
"""Echo collection provides the classes for the ECHO content web-site. |
"""Echo collection provides the classes for the ECHO content web-site. |
|
|
class ECHO_collection is the basis class for an ECHO collection. |
class ECHO_collection is the basis class for an ECHO collection. |
Line 23 from Products.PageTemplates.PageTemplate
|
Line 23 from Products.PageTemplates.PageTemplate
|
from Products.PageTemplates.PageTemplate import PageTemplate |
from Products.PageTemplates.PageTemplate import PageTemplate |
from Globals import Persistent |
from Globals import Persistent |
from Acquisition import Implicit |
from Acquisition import Implicit |
|
from pyPgSQL import libpq |
|
|
import urllib |
import urllib |
import xml.dom.minidom |
import xml.dom.minidom |
Line 93 def readMetadata(url):
|
Line 93 def readMetadata(url):
|
return metadict,"" |
return metadict,"" |
|
|
|
|
def setECHO_CollectionInformation(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coordstrs,viewClassification=""): |
def setECHO_collectionInformation(self,title,label,description,content_type,responsible,credits,weight,coordstrs,viewClassification=""): |
|
|
"""Allegemeine Informationen zu einer ECHO Collection""" |
"""Allegemeine Informationen zu einer ECHO Collection""" |
|
|
Line 107 def setECHO_CollectionInformation(self,c
|
Line 107 def setECHO_CollectionInformation(self,c
|
self.credits=toList(credits) |
self.credits=toList(credits) |
self.weight=weight |
self.weight=weight |
|
|
self.scientific_Information.source_type=source_type |
|
self.scientific_Information.period=period |
|
self.scientific_Information.scientific_Classification.context=context |
|
self.scientific_Information.scientific_Classification.science=science |
|
self.scientific_Information.scientific_Classification.practice=practice |
|
|
|
coords=[] |
coords=[] |
#coordinates of for rectangles |
#coordinates of for rectangles |
|
|
Line 132 def setECHO_CollectionInformation(self,c
|
Line 126 def setECHO_CollectionInformation(self,c
|
|
|
|
|
class scientificClassification(SimpleItem,Persistent,Implicit): |
class scientificClassification(SimpleItem,Persistent,Implicit): |
"""subclass""" |
"""outdated will be deleeted in the next versions: subclass""" |
security=ClassSecurityInfo() |
security=ClassSecurityInfo() |
|
|
def __init__(self,context,science,practice): |
def __init__(self,context,science,practice): |
Line 155 class scientificClassification(SimpleIte
|
Line 149 class scientificClassification(SimpleIte
|
|
|
|
|
class scientificInformation(Folder,Persistent,Implicit): |
class scientificInformation(Folder,Persistent,Implicit): |
"""subclass scientificInformation""" |
"""outdated will be deleted in the next versions: subclass scientificInformation""" |
security=ClassSecurityInfo() |
security=ClassSecurityInfo() |
|
|
|
|
Line 234 class ECHO_resource(Folder):
|
Line 228 class ECHO_resource(Folder):
|
if not hasattr(self,'coords'): |
if not hasattr(self,'coords'): |
self.coords=[] |
self.coords=[] |
|
|
pt=PageTemplateFile('Products/ECHO_content/ChangeECHO_resource.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ChangeECHO_resource.zpt').__of__(self) |
return pt() |
return pt() |
|
|
|
|
def changeECHO_resource(self,metalink,link,context,science,practice,source_type,period,title,label,description,content_type,responsible,credits,weight,viewClassification="",coords="",RESPONSE=None): |
def changeECHO_resource(self,metalink,link,title,label,description,content_type,responsible,weight,viewClassification="",coords=None,credits=None,RESPONSE=None): |
|
|
|
|
"""Änderung der Properties""" |
"""Änderung der Properties""" |
|
|
|
|
setECHO_CollectionInformation(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coords,viewClassification) |
setECHO_collectionInformation(self,title,label,description,content_type,responsible,credits,weight,coords,viewClassification) |
|
|
|
|
self.link=link |
self.link=link |
Line 263 class ECHO_resource(Folder):
|
Line 257 class ECHO_resource(Folder):
|
def ECHO_graphicEntry(self): |
def ECHO_graphicEntry(self): |
"""DO nothing""" |
"""DO nothing""" |
if 'overview' in self.aq_parent.__dict__.keys(): |
if 'overview' in self.aq_parent.__dict__.keys(): |
pt=PageTemplateFile('Products/ECHO_content/ECHO_draw.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_draw.zpt').__of__(self) |
return pt() |
return pt() |
else: |
else: |
return "NO OVERVIEW GRAPHICS" |
return "NO OVERVIEW GRAPHICS" |
Line 276 class ECHO_resource(Folder):
|
Line 270 class ECHO_resource(Folder):
|
coords.append(temco) |
coords.append(temco) |
|
|
self.coords=coords[0:] |
self.coords=coords[0:] |
#pt=PageTemplateFile('Products/ECHO_content/ECHO_draw.zpt').__of__(self) |
|
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('ECHO_graphicEntry') |
RESPONSE.redirect('ECHO_graphicEntry') |
|
|
Line 284 class ECHO_resource(Folder):
|
Line 278 class ECHO_resource(Folder):
|
"""Einlesen der Metadaten und Anlegen dieser Metadaten als Informationen zur Resource""" |
"""Einlesen der Metadaten und Anlegen dieser Metadaten als Informationen zur Resource""" |
(metadict, error)=readMetadata(self.metalink) |
(metadict, error)=readMetadata(self.metalink) |
|
|
#print "BLA" |
|
|
|
if not error=="": #Fehler beim Auslesen des Metafiles |
if not error=="": #Fehler beim Auslesen des Metafiles |
return "ERROR:",error |
return "ERROR:",error |
Line 294 class ECHO_resource(Folder):
|
Line 288 class ECHO_resource(Folder):
|
|
|
|
|
self.metadata=metadict.keys() |
self.metadata=metadict.keys() |
#return "BLUccssB" |
|
self.label=self.generate_label() |
self.label=self.generate_label() |
|
|
if template=="yes": |
if template=="yes": |
pt=PageTemplateFile('Products/ECHO_content/ECHO_resourceMD.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_resourceMD.zpt').__of__(self) |
return pt() |
return pt() |
|
|
def ECHO_getMD(self,item): |
def ECHO_getMD(self,item): |
Line 313 class ECHO_resource(Folder):
|
Line 307 class ECHO_resource(Folder):
|
def generate_label(self): |
def generate_label(self): |
"""Erzeugt_standard_Label aus Template""" |
"""Erzeugt_standard_Label aus Template""" |
pt=getattr(self,"label_template_"+self.bib_type) |
pt=getattr(self,"label_template_"+self.bib_type) |
#return pt |
|
#pt.content_type="text/html; charset=utf-8" |
|
return pt() |
|
|
|
def manage_AddECHO_resourceForm(self): |
|
"""Nothing yet""" |
|
pt=PageTemplateFile('Products/ECHO_content/AddECHO_resourceForm.zpt').__of__(self) |
|
return pt() |
return pt() |
|
|
|
def manage_addECHO_resourceForm(self): |
|
"""Form for adding a ressource""" |
|
pt=PageTemplateFile('Products/ECHO_content/zpt/AddECHO_resourceForm.zpt').__of__(self) |
|
return pt() |
|
|
|
|
def manage_AddECHO_resource(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,link,metalink,credits,weight,coords=None,RESPONSE=None): |
|
|
|
|
|
"""nothing yet""" |
|
scientificClassificationObj=scientificClassification(context,science,practice) |
|
|
|
scientificInformationObj=scientificInformation(source_type,period) |
|
|
|
|
def manage_addECHO_resource(self,id,title,label,description,content_type,responsible,link,metalink,weight,credits=None,coords=None,RESPONSE=None): |
|
"""addaresource""" |
|
|
newObj=ECHO_resource(id,link,metalink,title,label,description,content_type,responsible,credits,weight,coords) |
newObj=ECHO_resource(id,link,metalink,title,label,description,content_type,responsible,credits,weight,coords) |
|
|
self._setObject(id,newObj) |
self._setObject(id,newObj) |
getattr(self,id)._setObject('scientific_Information',scientificInformationObj) |
|
getattr(self,id).scientific_Information._setObject('scientific_Classification',scientificClassificationObj) |
|
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('manage_main') |
RESPONSE.redirect('manage_main') |
|
|
Line 374 class ECHO_externalLink(Folder):
|
Line 360 class ECHO_externalLink(Folder):
|
self.coords=[''] |
self.coords=[''] |
#print "G",self.coords |
#print "G",self.coords |
|
|
pt=PageTemplateFile('Products/ECHO_content/ChangeECHO_externalLink.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ChangeECHO_externalLink.zpt').__of__(self) |
return pt() |
return pt() |
|
|
|
|
def changeECHO_externalLink(self,link,context,science,practice,source_type,period,title,label,description,content_type,responsible,credits,weight,coords,RESPONSE=None): |
def changeECHO_externalLink(self,link,title,label,description,content_type,responsible,weight,coords=None,credits=None,RESPONSE=None): |
|
|
"""Änderung der Properties""" |
"""Änderung der Properties""" |
|
|
|
|
setECHO_CollectionInformation(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coords) |
setECHO_collectionInformation(self,title,label,description,content_type,responsible,credits,weight,coords) |
|
|
|
|
self.link=link |
self.link=link |
Line 400 class ECHO_externalLink(Folder):
|
Line 386 class ECHO_externalLink(Folder):
|
|
|
return self.REQUEST.RESPONSE.redirect(self.link) |
return self.REQUEST.RESPONSE.redirect(self.link) |
|
|
def manage_AddECHO_externalLinkForm(self): |
def manage_addECHO_externalLinkForm(self): |
"""Nothing yet""" |
"""Form for external Links""" |
pt=PageTemplateFile('Products/ECHO_content/AddECHO_externalLinkForm.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/AddECHO_externalLinkForm.zpt').__of__(self) |
return pt() |
return pt() |
|
|
|
|
def manage_AddECHO_externalLink(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,link,credits,weight,coords,RESPONSE=None): |
def manage_addECHO_externalLink(self,id,title,label,description,content_type,responsible,link,weight,coords=None,credits=None,RESPONSE=None): |
|
"""Add an external Link""" |
"""nothing yet""" |
|
scientificClassificationObj=scientificClassification(context,science,practice) |
|
|
|
scientificInformationObj=scientificInformation(source_type,period) |
|
|
|
|
|
newObj=ECHO_externalLink(id,link,title,label,description,content_type,responsible,credits,weight,coords) |
newObj=ECHO_externalLink(id,link,title,label,description,content_type,responsible,credits,weight,coords) |
|
|
self._setObject(id,newObj) |
self._setObject(id,newObj) |
getattr(self,id)._setObject('scientific_Information',scientificInformationObj) |
|
getattr(self,id).scientific_Information._setObject('scientific_Classification',scientificClassificationObj) |
|
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('manage_main') |
RESPONSE.redirect('manage_main') |
|
|
Line 457 class ECHO_collection(Folder, Persistent
|
Line 437 class ECHO_collection(Folder, Persistent
|
security.declarePublic('ECHO_rerenderLinksMD') |
security.declarePublic('ECHO_rerenderLinksMD') |
def ECHO_rerenderLinksMD(self): |
def ECHO_rerenderLinksMD(self): |
"""Rerender all Links""" |
"""Rerender all Links""" |
#print "HI" |
|
#return "OK" |
|
for entry in self.__dict__.keys(): |
for entry in self.__dict__.keys(): |
object=getattr(self,entry) |
object=getattr(self,entry) |
|
|
Line 475 class ECHO_collection(Folder, Persistent
|
Line 454 class ECHO_collection(Folder, Persistent
|
return "Rerenderd all links to resources in: "+self.title |
return "Rerenderd all links to resources in: "+self.title |
|
|
|
|
|
|
security.declarePublic('printall') |
|
def printall(self): |
|
return self.scientific_information.__dict__.keys() |
|
|
|
|
|
def getCoords(self): |
def getCoords(self): |
try: |
try: |
|
|
Line 510 class ECHO_collection(Folder, Persistent
|
Line 483 class ECHO_collection(Folder, Persistent
|
|
|
|
|
manage_options = Folder.manage_options+( |
manage_options = Folder.manage_options+( |
{'label':'Main Config','action':'ECHO_Collection_config'}, |
{'label':'Main Config','action':'ECHO_collection_config'}, |
{'label':'Rerender Links','action':'ECHO_rerenderLinksMD'}, |
{'label':'Rerender Links','action':'ECHO_rerenderLinksMD'}, |
{'label':'Graphics','action':'ECHO_graphicEntry'}, |
{'label':'Graphics','action':'ECHO_graphicEntry'}, |
|
|
Line 519 class ECHO_collection(Folder, Persistent
|
Line 492 class ECHO_collection(Folder, Persistent
|
def ECHO_graphicEntry(self): |
def ECHO_graphicEntry(self): |
"""DO nothing""" |
"""DO nothing""" |
if 'overview' in self.aq_parent.__dict__.keys(): |
if 'overview' in self.aq_parent.__dict__.keys(): |
pt=PageTemplateFile('Products/ECHO_content/ECHO_draw.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_draw.zpt').__of__(self) |
return pt() |
return pt() |
else: |
else: |
return "NO OVERVIEW GRAPHICS" |
return "NO OVERVIEW GRAPHICS" |
Line 531 class ECHO_collection(Folder, Persistent
|
Line 504 class ECHO_collection(Folder, Persistent
|
temco.append(angle) |
temco.append(angle) |
coords.append(temco) |
coords.append(temco) |
self.coords=coords[0:] |
self.coords=coords[0:] |
#pt=PageTemplateFile('Products/ECHO_content/ECHO_draw.zpt').__of__(self) |
|
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('ECHO_graphicEntry') |
RESPONSE.redirect('ECHO_graphicEntry') |
|
|
|
|
security.declarePublic('ECHO_Collection_config') |
security.declarePublic('ECHO_collection_config') |
def ECHO_Collection_config(self): |
def ECHO_collection_config(self): |
"""Main configuration""" |
"""Main configuration""" |
|
|
if not hasattr(self,'weight'): |
if not hasattr(self,'weight'): |
Line 545 class ECHO_collection(Folder, Persistent
|
Line 518 class ECHO_collection(Folder, Persistent
|
|
|
if not hasattr(self,'sortfield'): |
if not hasattr(self,'sortfield'): |
self.sortfield="weight" |
self.sortfield="weight" |
#print "HI" |
|
if not hasattr(self,'coords'): |
if not hasattr(self,'coords'): |
self.coords=[] |
self.coords=[] |
|
|
pt=PageTemplateFile('Products/ECHO_content/ChangeECHO_Collection.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ChangeECHO_collection.zpt').__of__(self) |
return pt() |
return pt() |
|
|
|
|
security.declarePublic('changeECHO_Collection') |
security.declarePublic('changeECHO_collection') |
|
|
|
|
def changeECHO_Collection(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,weight,credits="",sortfield="weight",coords="",RESPONSE=None): |
|
|
|
|
|
|
def changeECHO_collection(self,title,label,description,content_type,responsible,weight,credits=None,sortfield="weight",coords=None,RESPONSE=None): |
"""Änderung der Properties""" |
"""Änderung der Properties""" |
#print "HI",coords |
|
coordsnew=[ string.split(x,",") for x in coords] |
coordsnew=[ string.split(x,",") for x in coords] |
#print "HO",coordsnew |
|
setECHO_CollectionInformation(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,credits,weight,coordsnew) |
setECHO_collectionInformation(self,title,label,description,content_type,responsible,credits,weight,coordsnew) |
|
|
self.sortfield=sortfield |
self.sortfield=sortfield |
|
|
Line 577 class ECHO_collection(Folder, Persistent
|
Line 548 class ECHO_collection(Folder, Persistent
|
|
|
def index_html(self): |
def index_html(self): |
"""standard page""" |
"""standard page""" |
#print self.objectIDs() |
|
|
|
if 'index.html' in self.__dict__.keys(): |
if 'index.html' in self.__dict__.keys(): |
return getattr(self,'index.html')() |
return getattr(self,'index.html')() |
elif 'overview' in self.__dict__.keys(): |
elif 'overview' in self.__dict__.keys(): |
#print "HI" |
|
return self.showOverview() |
return self.showOverview() |
|
|
|
|
pt=PageTemplateFile('Products/ECHO_content/ECHO_content_standard.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ECHO_content_standard.zpt').__of__(self) |
pt.content_type="text/html" |
pt.content_type="text/html" |
return pt() |
return pt() |
|
|
Line 603 class ECHO_collection(Folder, Persistent
|
Line 572 class ECHO_collection(Folder, Persistent
|
ids=[] |
ids=[] |
for entry in self.__dict__.keys(): |
for entry in self.__dict__.keys(): |
object=getattr(self,entry) |
object=getattr(self,entry) |
#print "OB:",object |
|
|
|
try: |
try: |
#print "MT:",object.meta_type |
|
if object.meta_type in subColTypes: |
if object.meta_type in subColTypes: |
#print "MT:",object.meta_type,object.getId() |
|
for coordtemp in object.coords: |
for coordtemp in object.coords: |
if len(coordtemp)>3: |
if len(coordtemp)>3: |
coord=coordtemp[0:4] |
coord=coordtemp[0:4] |
Line 622 class ECHO_collection(Folder, Persistent
|
Line 587 class ECHO_collection(Folder, Persistent
|
|
|
except: |
except: |
"""nothing""" |
"""nothing""" |
#print "IDS",ids |
|
return ids |
return ids |
|
|
def getSubCols(self,sortfield="weight"): |
def getSubCols(self,sortfield="weight"): |
Line 631 class ECHO_collection(Folder, Persistent
|
Line 596 class ECHO_collection(Folder, Persistent
|
ids=[] |
ids=[] |
for entry in self.__dict__.keys(): |
for entry in self.__dict__.keys(): |
object=getattr(self,entry) |
object=getattr(self,entry) |
#print "OB:",object |
|
|
|
try: |
try: |
#print "MT:",object.meta_type |
|
if object.meta_type in subColTypes: |
if object.meta_type in subColTypes: |
ids.append(object) |
ids.append(object) |
|
|
Line 664 class ECHO_collection(Folder, Persistent
|
Line 626 class ECHO_collection(Folder, Persistent
|
|
|
|
|
|
|
def manage_AddECHO_collectionForm(self): |
def manage_addECHO_collectionForm(self): |
"""Nothing yet""" |
"""Add collection form""" |
pt=PageTemplateFile('Products/ECHO_content/AddECHO_collectionForm.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/AddECHO_collectionForm.zpt').__of__(self) |
return pt() |
return pt() |
|
|
|
|
def manage_AddECHO_collection(self,context,science,practice,source_type,period,id,title,label,description,content_type,responsible,weight,sortfield,coords,credits=None,RESPONSE=None): |
def manage_addECHO_collection(self,id,title,label,description,content_type,responsible,weight,sortfield,coords="",credits=None,RESPONSE=None): |
|
"""add a echo collection""" |
"""nothing yet""" |
|
scientificClassificationObj=scientificClassification(context,science,practice) |
|
|
|
scientificInformationObj=scientificInformation(source_type,period) |
|
|
|
|
|
newObj=ECHO_collection(id,title,label,description,content_type,responsible,credits,weight,sortfield,coords) |
newObj=ECHO_collection(id,title,label,description,content_type,responsible,credits,weight,sortfield,coords) |
|
|
self._setObject(id,newObj) |
self._setObject(id,newObj) |
getattr(self,id)._setObject('scientific_Information',scientificInformationObj) |
|
getattr(self,id).scientific_Information._setObject('scientific_Classification',scientificClassificationObj) |
|
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('manage_main') |
RESPONSE.redirect('manage_main') |
|
|
Line 695 class ECHO_root(Folder,Persistent,Implic
|
Line 652 class ECHO_root(Folder,Persistent,Implic
|
self.id = id |
self.id = id |
self.title=title |
self.title=title |
|
|
|
def PgQuoteString(self,string): |
|
"""Quote string""" |
|
print "PG",string |
|
return libpq.PgQuoteString(string) |
|
|
def getPartners(self): |
def getPartners(self): |
"""Get list of Partners. Presently only from a subfolder partners""" |
"""Get list of Partners. Presently only from a subfolder partners""" |
partnerTypes=['ECHO_partner'] |
partnerTypes=['ECHO_partner'] |
ids=[] |
ids=[] |
|
try: |
for entry in self.partners.__dict__.keys(): |
for entry in self.partners.__dict__.keys(): |
object=getattr(self.partners,entry) |
object=getattr(self.partners,entry) |
|
|
Line 709 class ECHO_root(Folder,Persistent,Implic
|
Line 672 class ECHO_root(Folder,Persistent,Implic
|
|
|
except: |
except: |
"""nothing""" |
"""nothing""" |
|
except: |
|
ids=[] # no partners |
return ids |
return ids |
|
|
def getCollectionTree(self): |
def getCollectionTree(self): |
Line 740 class ECHO_root(Folder,Persistent,Implic
|
Line 704 class ECHO_root(Folder,Persistent,Implic
|
|
|
|
|
|
|
def manage_AddECHO_root(self,id,title,RESPONSE=None): |
def manage_addECHO_root(self,id,title,RESPONSE=None): |
"""Add an ECHO_root""" |
"""Add an ECHO_root""" |
self._setObject(id,ECHO_root(id,title)) |
self._setObject(id,ECHO_root(id,title)) |
|
|
if RESPONSE is not None: |
if RESPONSE is not None: |
RESPONSE.redirect('manage_main') |
RESPONSE.redirect('manage_main') |
|
|
def manage_AddECHO_rootForm(self): |
def manage_addECHO_rootForm(self): |
"""Nothing yet""" |
"""Nothing yet""" |
pt=PageTemplateFile('Products/ECHO_content/AddECHO_root.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/AddECHO_root.zpt').__of__(self) |
return pt() |
return pt() |
|
|
class ECHO_partner(Image,Persistent): |
class ECHO_partner(Image,Persistent): |
Line 783 class ECHO_partner(Image,Persistent):
|
Line 747 class ECHO_partner(Image,Persistent):
|
"""Main configuration""" |
"""Main configuration""" |
if not hasattr(self,'url'): |
if not hasattr(self,'url'): |
self.url="" |
self.url="" |
pt=PageTemplateFile('Products/ECHO_content/ChangeECHO_partner.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/ChangeECHO_partner.zpt').__of__(self) |
return pt() |
return pt() |
|
|
|
|
manage_AddECHO_partnerForm=DTMLFile('ECHO_partnerAdd',globals(), |
manage_addECHO_partnerForm=DTMLFile('dtml/ECHO_partnerAdd',globals(), |
Kind='ECHO_partner',kind='ECHO_partner') |
Kind='ECHO_partner',kind='ECHO_partner') |
|
|
|
|
|
|
def manage_AddECHO_partner(self, id, file,url, title='', precondition='', content_type='', |
def manage_addECHO_partner(self, id, file,url, title='', precondition='', content_type='', |
REQUEST=None): |
REQUEST=None): |
""" |
""" |
Add a new ECHO_partner object. |
Add a new ECHO_partner object. |