Subversion-Projekte lars-tiefland.laravel_shop

Revision

Zur aktuellen Revision | Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
cat {#language.modifier.cat}
2
===
3
 
4
This value is concatenated to the given variable.
5
 
6
   Parameter Position    Type    Required   Default  Description
7
  -------------------- -------- ---------- --------- -----------------------------------------------
8
           1            string      No      *empty*  This value to catenate to the given variable.
9
 
10
 
11
    <?php
12
 
13
    $smarty->assign('articleTitle', "Psychics predict world didn't end");
14
 
15
    ?>
16
 
17
 
18
 
19
Where template is:
20
 
21
 
22
    {$articleTitle|cat:' yesterday.'}
23
 
24
 
25
 
26
Will output:
27
 
28
 
29
    Psychics predict world didn't end yesterday.
30
 
31