EduploneWebdidactics/Extensions wd_relations.py,NONE,1.1

Nils Haagen <[email protected]>
Newsgroups gmane.comp.web.zope.eduplone.cvs
Message-ID <[email protected]>
Update of /cvsroot/eduplone/EduploneWebdidactics/Extensions
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29038

Added Files:
	wd_relations.py 
Log Message:
interface for Relations

--- NEW FILE: wd_relations.py ---
from Products.Relations.processor import process

def relations_save(self, sUid, tUid, jigId):
    """ """
    jigregistry=self.relations_jigregistry
    triple=[(sUid, tUid, jigId)]
    process(jigregistry, connect=triple)
    return 'done.'


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.