cvs: smarty /docs programmers.sgml
| From: | Messju Mohr | Date: | Sat, 07 Jun 2003 15:38:19 +0000 |
| Subject: | cvs: smarty /docs programmers.sgml | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-631@lists.php.net to get a copy of this message | ||
messju Sat Jun 7 11:38:19 2003 EDT
Modified files:
/smarty/docs programmers.sgml
Log:
fixed bug in documentation for $smarty->default_modifiers
Index: smarty/docs/programmers.sgml
diff -u smarty/docs/programmers.sgml:1.33 smarty/docs/programmers.sgml:1.34
--- smarty/docs/programmers.sgml:1.33 Thu May 8 17:01:45 2003
+++ smarty/docs/programmers.sgml Sat Jun 7 11:38:19 2003
@@ -1,4 +1,4 @@
- <part id="smarty.for.programmers">
+ <part id="smarty.for.programmers">
<title>Smarty For Programmers</title>
@@ -477,8 +477,9 @@
This is an array of modifiers to implicitly apply to every variable in a
template. For example, to HTML-escape every variable by default, use
array('escape:"htmlall"'); To make a variable exempt from default
- modifiers, pass the special "nodefaults" modifier to it, such as
- {$var|nodefaults}.
+ modifiers, pass the special "smarty" modifier with a parameter value of
+ "nodefaults" modifier to it, such as
+ {$var|smarty:nodefaults}.
</para>
</sect1>
</chapter>