fenom/docs/tags/capture.md

15 lines
248 B
Markdown
Raw Normal View History

2013-02-13 18:51:53 +04:00
Tag {capture}
=============
2013-02-19 09:51:33 +04:00
```smarty
{capture $var}
This content will be captured into variable $var
{/capture}
```
```smarty
{capture|stip_tags $var}
This content will be captured into variable $var and all tags will be stripped
{/capture}
```