root/trunk/docs/notes.txt

Revision 322, 0.8 kB (checked in by schst, 4 years ago)

updated news, added todos

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 Notes
2 -----
3 $Id$
4
5 Known issues:
6 -------------
7 * When using unusedvars="comment" in nested templates, the
8   output gets broken
9   => improve regexp
10
11 Todo:
12 -----
13 * Implement 'runtime' functions.
14   Runtime functions are object that will store template content and parse the
15   content instead of the patTemplate processor.
16  
17   class patTemplate_Function_Foo extends patTemplate_Function
18   {
19     var $type = PATTEMPLATE_FUNCTION_RUNTIME;
20        
21         /**
22          * called, when the tag is found
23          */
24         function prepare( array params, string data  )
25         {
26                 return '';
27         }
28        
29         function call( array vars, integer iteration )
30         {
31                 return '';
32         }
33   }
34  
35 * Implement output cache
36 * Implement instance
37 * implement parseInto="foo.bar"
38 * Implement __autoload(), which is called, when a template is accessed that's
39   not yet loaded
Note: See TracBrowser for help on using the browser.