This commit is contained in:
pete_morgan
2005-09-10 12:46:35 +00:00
parent aec75a2cec
commit 3954d5495c
2 changed files with 8 additions and 5 deletions

View File

@@ -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

View File

@@ -65,8 +65,9 @@ Next X-Men Film, X3, Delayed.
]]>
</screen>
</example>
<para>See also <link linkend="language.modifier.lower">lower</link> <link
linkend="language.modifier.upper">upper</link> </para>
<para>See also <link linkend="language.modifier.lower">lower</link>
and
<link linkend="language.modifier.upper">upper</link> </para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables: