[Moin-devel] CVS: MoinMoin/macro __init__.py,1.1,1.2
J?rgen Hermann
jhermann at users.sourceforge.net
Wed Apr 17 13:02:32 EDT 2002
- Previous message (by thread): [Moin-devel] CVS: MoinMoin/formatter base.py,1.21,1.22 text_html.py,1.39,1.40 text_plain.py,1.17,1.18 text_xml.py,1.26,1.27
- Next message (by thread): [Moin-devel] CVS: MoinMoin/scripts moin_dump.py,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/moin/MoinMoin/macro
In directory usw-pr-cvs1:/tmp/cvs-serv12084/MoinMoin/macro
Modified Files:
__init__.py
Log Message:
Passing request to formatters, short docs for macro interface
Index: __init__.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/macro/__init__.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** __init__.py 25 Nov 2000 16:11:16 -0000 1.1
--- __init__.py 17 Apr 2002 19:54:35 -0000 1.2
***************
*** 5,8 ****
--- 5,19 ----
All rights reserved, see COPYING for details.
+ The canonical interface to macros is their execute() function,
+ which gets passed an instance of the Macro class. Such an instance
+ has the four members parser, formatter, form and request.
+
+ Using "form" directly is deprecated and should be replaced
+ by "request.form".
+
+ Besides the execute() function, macros can export additional
+ functions to offer services to other macros or actions. A few
+ actually do that, e.g. AttachFile.
+
$Id$
"""
- Previous message (by thread): [Moin-devel] CVS: MoinMoin/formatter base.py,1.21,1.22 text_html.py,1.39,1.40 text_plain.py,1.17,1.18 text_xml.py,1.26,1.27
- Next message (by thread): [Moin-devel] CVS: MoinMoin/scripts moin_dump.py,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Moin-devel
mailing list