Smarty_Compiler_Default
extends Smarty_Internal_CompileBase
in package
Switch default statement plugin for smarty.
Tags
Table of Contents
- $optional_attributes : mixed
- $required_attributes : mixed
- $shorttag_order : mixed
- compile() : string
- Print out a default line for this switch.
Properties
$optional_attributes
public
mixed
$optional_attributes
= array('break')
$required_attributes
public
mixed
$required_attributes
= array()
$shorttag_order
public
mixed
$shorttag_order
= array('break')
Methods
compile()
Print out a default line for this switch.
public
compile( $args, $compiler) : string
This can only go in {switch} tags. If break is passed, a {break} will be rendered before the next case.