cvs: smarty /docs/de designers.sgml
"andreas halter" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsandreas1068748710@cvsserver> |
andreas Thu Nov 13 13:38:30 2003 EDT
Modified files:
/smarty/docs/de designers.sgml
Log:
- added cat modifier, thanks messju :-)
Index: smarty/docs/de/designers.sgml
diff -u smarty/docs/de/designers.sgml:1.9 smarty/docs/de/designers.sgml:1.10
--- smarty/docs/de/designers.sgml:1.9 Mon Nov 3 08:55:26 2003
+++ smarty/docs/de/designers.sgml Thu Nov 13 13:38:30 2003
@@ -475,6 +475,56 @@
61</programlisting>
</example>
</sect1>
+ <sect1 id="language.modifier.cat">
+ <title>cat</title>
+ <informaltable frame="all">
+ <tgroup cols="5">
+ <colspec colname="param" align="center" />
+ <colspec colname="type" align="center" />
+ <colspec colname="required" align="center" />
+ <colspec colname="cat" align="center" />
+ <colspec colname="desc" />
+ <thead>
+ <row>
+ <entry>Parameter Position</entry>
+ <entry>Typ</entry>
+ <entry>Benötigt</entry>
+ <entry>Standard</entry>
+ <entry>Beschreibung</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>1</entry>
+ <entry>string</entry>
+ <entry>Nein</entry>
+ <entry><emphasis>leer/empty</emphasis></entry>
+ <entry>Wert der an die Variable angefügt werden soll.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ <para>
+ Dieser Wert wird der aktuellen Variable hinzugefügt.
+ </para>
+<example>
+<title>cat</title>
+<programlisting>
+index.php:
+
+$smarty = new Smarty;
+$smarty->assign('articleTitle', "Psychics predict world didn't end");
+$smarty->display('index.tpl');
+
+index.tpl:
+
+{$articleTitle|cat:" yesterday."}
+
+OUTPUT:
+
+Psychics predict world didn't end yesterday.</programlisting>
+</example>
+ </sect1>
<sect1 id="language.modifier.count.paragraphs">
<title>count_paragraphs (Absätze zählen)</title>
<para>
@@ -5259,4 +5309,4 @@
</para>
</note>
</chapter>
- </part>
\ No newline at end of file
+ </part>
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php