source:
WAeUP_SRP/branches/joachim-azax-branch/skins/waeup_academics/getDocumentInfo.py
@
3121
Last change on this file since 3121 was 1988, checked in by , 18 years ago | |
---|---|
|
|
File size: 387 bytes |
Line | |
---|---|
1 | ## Script (Python) "getDocumentInfo" |
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 | ## |
10 | # $Id:getDocumentInfo.py 486 2006-09-06 10:09:39Z joachim $ |
11 | """ |
12 | return Info about the Documents |
13 | """ |
14 | |
15 | info = {} |
16 | try: |
17 | info['doc'] = context.getContent() |
18 | except: |
19 | return None |
20 | return info |
Note: See TracBrowser for help on using the repository browser.