diff options
| author | Simon Wisselink <wisskid@users.noreply.github.com> | 2021-12-03 11:59:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-03 11:59:22 +0100 |
| commit | 428a701b1871b02078a663d51a9a6555195743b3 (patch) | |
| tree | 51a76b654fb742dd9ea1ee6595baa27f113bc7ca /docs/designers/language-modifiers/language-modifier-cat.md | |
| parent | baebd59bb4da9fca89da382811b38c8313949c49 (diff) | |
| download | smarty-428a701b1871b02078a663d51a9a6555195743b3.tar.gz smarty-428a701b1871b02078a663d51a9a6555195743b3.tar.bz2 smarty-428a701b1871b02078a663d51a9a6555195743b3.zip | |
Feature/add docs (#689)
* Add converted docs repo
* Set theme jekyll-theme-minimal
* Removed BC docs, added TOC
* Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site
* some link fixes
Diffstat (limited to 'docs/designers/language-modifiers/language-modifier-cat.md')
| -rw-r--r-- | docs/designers/language-modifiers/language-modifier-cat.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/designers/language-modifiers/language-modifier-cat.md b/docs/designers/language-modifiers/language-modifier-cat.md new file mode 100644 index 00000000..1f43ae17 --- /dev/null +++ b/docs/designers/language-modifiers/language-modifier-cat.md @@ -0,0 +1,31 @@ +cat {#language.modifier.cat} +=== + +This value is concatenated to the given variable. + + Parameter Position Type Required Default Description + -------------------- -------- ---------- --------- ----------------------------------------------- + 1 string No *empty* This value to catenate to the given variable. + + + <?php + + $smarty->assign('articleTitle', "Psychics predict world didn't end"); + + ?> + + + +Where template is: + + + {$articleTitle|cat:' yesterday.'} + + + +Will output: + + + Psychics predict world didn't end yesterday. + + |
