与えられた変数に値を連結します。
| パラメータの位置 | 型 | 必須 | デフォルト | 概要 |
|---|---|---|---|---|
| 1 | string | No | empty | 与えられた変数にこの値を連結する |
Example 5.3. cat
<?php
$smarty->assign('articleTitle', "Psychics predict world didn't end");
?>
テンプレート
{$articleTitle|cat:' yesterday.'}
出力
Psychics predict world didn't end yesterday.
Comments
Post a Comment
