[Zope] What is getObject(IDstring) API?

Tim Hicks timNOT_THIS@sitefusion.co.uk
Wed, 16 Jan 2002 14:17:07 -0000


> Parameter List: student, course   
> context.relations.relate(
> context.getObject(student),
> context.getObject(course))

How's about...

getattr(context, student)

I think you can do it like...

context[student]

as well.  Search the list archives for a similar thread very recently.

tim