cvs: smarty /docs programmers.sgml
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1075045935@cvsserver> |
messju Sun Jan 25 10:52:15 2004 EDT
Modified files:
/smarty/docs programmers.sgml
Log:
documented parameters of Smarty::clear_compiled_tpl()
http://cvs.php.net/diff.php/smarty/docs/programmers.sgml?r1=1.51&r2=1.52&ty=u
Index: smarty/docs/programmers.sgml
diff -u smarty/docs/programmers.sgml:1.51 smarty/docs/programmers.sgml:1.52
--- smarty/docs/programmers.sgml:1.51 Fri Jan 16 15:01:35 2004
+++ smarty/docs/programmers.sgml Sun Jan 25 10:52:14 2004
@@ -741,12 +741,18 @@
<funcsynopsis>
<funcprototype>
<funcdef>void <function>clear_compiled_tpl</function></funcdef>
- <paramdef>string <parameter>tpl_file</parameter></paramdef>
+ <paramdef>string <parameter><optional>tpl_file</parameter></optional></paramdef>
+ <paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef>
+ <paramdef>int <parameter><optional>exp_time</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
This clears the compiled version of the specified template
resource, or all compiled template files if one is not specified.
+ if you pass a compile_id only the compiled template for this
+ specific compile_id is cleared. if you pass an exp_time, then only
+ compiled templates older than exp_time seconds are cleared, by
+ default all compiled templates are cleared regardless of their age.
This function is for advanced use only, not normally needed.
</para>
<example>
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php