This commit is contained in:
bzick 2013-02-20 18:02:18 +04:00
parent e54dd63a51
commit d92950150d
2 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Настройка
=========
### Параметры шаблонизатора
### Engine settings
Что бы установить папку для хранения кеша собранных шаблонов
@ -9,7 +9,7 @@
$aspect->setCompileDir($dir);
```
### Пакаметры компилятора
### Template settings
```php
// set options using factory

View File

@ -1,3 +1,13 @@
Tag {switch}
============
```smarty
{switch <condition>}
{case <value1>}
...
{case <value2>}
...
{default}
...
{/switch}
```