fenom / smarty-fallback
Smarty fallback for Fenom
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 5
Forks: 0
Open Issues: 0
pkg:composer/fenom/smarty-fallback
Requires
- fenom/entity-loader: 1.*
- fenom/fenom: 2.*
- fenom/fs-entity-loader: 1.*
- fenom/storage: 1.*
Requires (Dev)
- phpunit/phpunit: *
- smarty/smarty: 3.*
This package is auto-updated.
Last update: 2025-09-29 01:42:14 UTC
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