From 2be563b152debb2b437b43a657febc809c3966be Mon Sep 17 00:00:00 2001 From: andreas Date: Thu, 13 Nov 2003 18:38:30 +0000 Subject: [PATCH] - added cat modifier, thanks messju :-) --- docs/de/designers.sgml | 52 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/docs/de/designers.sgml b/docs/de/designers.sgml index bfc82846..8eb663eb 100644 --- a/docs/de/designers.sgml +++ b/docs/de/designers.sgml @@ -475,6 +475,56 @@ AUSGABE: 61 + + cat + + + + + + + + + + Parameter Position + Typ + Benötigt + Standard + Beschreibung + + + + + 1 + string + Nein + leer/empty + Wert der an die Variable angefügt werden soll. + + + + + + Dieser Wert wird der aktuellen Variable hinzugefügt. + + +cat + +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. + + count_paragraphs (Absätze zählen) @@ -5259,4 +5309,4 @@ pass=foobar - \ No newline at end of file +