fenom/smarty-fallback
Composer 安装命令:
composer require fenom/smarty-fallback
包简介
Smarty fallback for Fenom
README 文档
README
Syntax
- Ignoring
@before modifier. Modifier is always applied to the variable,{$array|@count},{$array|count},count($array)are same. - Unsupported Smarty3
{foreach}properties are @index, @iteration, @first, @last, @show, @total yet.
Accessors
| Accessor | Smarty2 | Smarty3 |
|---|---|---|
$smarty.get |
yes | yes |
$smarty.post |
yes | yes |
$smarty.cookie |
yes | yes |
$smarty.request |
yes | yes |
$smarty.server |
yes | yes |
$smarty.env |
yes | yes |
$smarty.session |
yes | yes |
$smarty.const |
yes | yes |
$smarty.ldelim |
yes | yes |
$smarty.rdelim |
yes | yes |
$smarty.block |
- | no |
$smarty.section* |
no | no |
$smarty.capture |
yes | yes |
$smarty.foreach |
yes | - |
$smarty.template* |
no | no |
$smarty.version* |
no | no |
$smarty.current_dir |
- | no |
$smarty.template_object |
- | no |
$smarty.config* |
no | no |
Modifiers
Tags
| Tag | Smarty2 | Smarty3 |
|---|---|---|
assign |
yes | yes without scope |
capture |
yes | yes |
foreach |
yes | yes |
section* |
no | no |
include |
yes | yes |
include_php** |
no | no |
strip |
yes | yes |
if |
yes | yes |
literal |
yes | yes |
ldelim,rdelim |
yes | yes |
while |
- | yes |
extends,block |
- | yes |
insert** |
no | no |
html_checkboxes* |
yes | yes |
html_image* |
yes | yes |
html_options* |
yes | yes |
html_radios* |
yes | yes |
html_select_date* |
yes | yes |
html_select_time* |
yes | yes |
html_table* |
yes | yes |
mailto* |
yes | yes |
math* |
yes | - |
textformat* |
yes | yes |
eval |
no | no |
fetch* |
yes | yes |
counter* |
yes | yes |
cycle* |
no | no |
* - todo
** - newer
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-27