Rev | Line | |
---|
[845] | 1 | ## Script (Python) "getDocumentInfo" |
---|
[556] | 2 | ##bind container=container |
---|
| 3 | ##bind context=context |
---|
| 4 | ##bind namespace= |
---|
| 5 | ##bind script=script |
---|
| 6 | ##bind subpath=traverse_subpath |
---|
| 7 | ##parameters=student=None |
---|
| 8 | ##title= |
---|
| 9 | ## |
---|
[801] | 10 | # $Id:getDocumentInfo.py 486 2006-09-06 10:09:39Z joachim $ |
---|
[556] | 11 | """ |
---|
[1988] | 12 | return Info about the Documents |
---|
[556] | 13 | """ |
---|
| 14 | |
---|
| 15 | info = {} |
---|
[1783] | 16 | try: |
---|
| 17 | info['doc'] = context.getContent() |
---|
| 18 | except: |
---|
| 19 | return None |
---|
[556] | 20 | return info |
---|
Note: See
TracBrowser for help on using the repository browser.