[Jifty-commit] r4902 - in Template-Declare: lib/Template

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Jan 22 16:09:37 EST 2008


Author: sartak
Date: Tue Jan 22 16:09:37 2008
New Revision: 4902

Modified:
   Template-Declare/   (props changed)
   Template-Declare/lib/Template/Declare.pm

Log:
 r50671 at onn:  sartak | 2008-01-22 16:09:26 -0500
 Bit of doc for the arguments to TD->init


Modified: Template-Declare/lib/Template/Declare.pm
==============================================================================
--- Template-Declare/lib/Template/Declare.pm	(original)
+++ Template-Declare/lib/Template/Declare.pm	Tue Jan 22 16:09:37 2008
@@ -281,8 +281,23 @@
 
 =item roots
 
+An array reference of packages to begin looking for templates.
+
 =item postprocessor
 
+A coderef called to postprocess the HTML or XML output of your templates. This
+is to alleviate using Tags for simple text markup.
+
+=item pre_template
+
+A coderef called just before rendering each template. You can use this for
+instrumentation.
+
+=item post_template
+
+A coderef called just after rendering each template. You can use this for
+instrumentation.
+
 =back
 
 =cut


More information about the Jifty-commit mailing list