Smarty_Compiler_Switch

Extends \Smarty_Internal_CompileBase

package

Smarty-Plugins

Methods

Start a new switch statement.

compile( $args,  $compiler) : string

A variable must be passed to switch on. Also, the switch can only directly contain {case} and {default} tags.

Arguments

$args

$compiler

Response

string

Properties

required_attributes

required_attributes : 

Type(s)

optional_attributes

optional_attributes : 

Type(s)

shorttag_order

shorttag_order : 

Type(s)