This commit is contained in:
bzick 2014-06-28 22:17:52 +04:00
parent c56623c1a4
commit 70d3b47ca2
2 changed files with 13 additions and 0 deletions

View File

@ -32,6 +32,7 @@ Documentation
* [macro](./tags/macro.md) and `import` — template functions
* [autoescape](./tags/autoescape.md) — escape template fragment
* [raw](./tags/raw.md) — unescape template fragment
* [unset](./tags/unset.md) — unset a given variables
* or [add](./ext/extend.md#add-tags) yours

12
docs/tags/unset.md Normal file
View File

@ -0,0 +1,12 @@
Tag {unset}
===========
Unset a given variables.
```smarty
{unset $a} unset single variable
{unset $a $b $c.d.e} multiple unset
```