Class Smarty_Compiler_Default
This class does extend all internal compile plugins
- Smarty_Internal_CompileBase
-
Smarty_Compiler_Default
Package: Smarty\Compiler
Located at tpl/smarty/plugins/compiler.switch.php
Located at tpl/smarty/plugins/compiler.switch.php
Methods summary
public
string
|
#
compile( string $args, Smarty_Compiler $compiler )
Print out a default line for this switch. This can only go in {switch} tags. If break is passed, a {break} will be rendered before the next case. |
Methods inherited from Smarty_Internal_CompileBase
Properties summary
public
array
|
$required_attributes
Array of names of required attribute required by tag |
#
array()
|
public
array
|
$optional_attributes
Array of names of optional attribute required by tag use array('_any') if there is no restriction of attributes names |
#
array('break')
|
public
array
|
$shorttag_order
Shorttag attribute order defined by its names |
#
array('break')
|