## Script (Python) "getDocumentInfo" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=student=None ##title= ## # $Id:getDocumentInfo.py 486 2006-09-06 10:09:39Z joachim $ """ return Info about the Faculties """ request = context.REQUEST wf = context.portal_workflow path_info = request.get('PATH_INFO').split('/') info = {} info['is_manager'] = context.isManager info['is_student'] = context.isStudent info['doc'] = context.getContent() return info