fenom/smarty-fallback

Smarty fallback for Fenom

dev-master 2015-02-02 08:33 UTC

This package is auto-updated.

Last update: 2024-04-29 02:56:30 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