cvs: smarty /docs/en/designers language-modifiers.xml
"Peter 'Mash' Morgan" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvspete_morgan1126356295@cvsserver> |
pete_morgan Sat Sep 10 08:44:55 2005 EDT
Modified files:
/smarty/docs/en/designers language-modifiers.xml
Log:
tweek
http://cvs.php.net/diff.php/smarty/docs/en/designers/language-modifiers.xml?r1=1.18&r2=1.19&ty=u
Index: smarty/docs/en/designers/language-modifiers.xml
diff -u smarty/docs/en/designers/language-modifiers.xml:1.18 smarty/docs/en/designers/language-modifiers.xml:1.19
--- smarty/docs/en/designers/language-modifiers.xml:1.18 Wed May 25 15:13:20 2005
+++ smarty/docs/en/designers/language-modifiers.xml Sat Sep 10 08:44:55 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.18 $ -->
+<!-- $Revision: 1.19 $ -->
<chapter id="language.modifiers">
<title>Variable Modifiers</title>
<para>
@@ -47,10 +47,12 @@
linkend="variable.plugins.dir">$plugins_dir</link> (also see:
<link linkend="plugins.naming.conventions">Naming
Conventions</link>) or can be registered explicitely (see: <link
- linkend="api.register.modifier">register_modifier</link>). Additionally
+ linkend="api.register.modifier">register_modifier</link>).</para>
+ <para>
+ Additionally
all php-functions can be used as modifiers implicitly. (The
- <literal>@count</literal>-example above actually uses php's
- count-function and not a smarty-modifier). Using php-functions
+ <literal>@count</literal> example above actually uses php's
+ count() function and not a smarty-modifier). Using php-functions
as modifiers has two little pitfalls: First: Sometimes the order
of the function-parameters is not the desirable one
(<literal>{"%2.f"|sprintf:$float}</literal> actually works, but
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php