fenom/docs/tags/capture.md

17 lines
250 B
Markdown
Raw Normal View History

2013-02-13 18:51:53 +04:00
Tag {capture}
=============
2013-03-15 00:57:28 +04:00
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}
```