Exponent v2.7.2

Smarty_Compiler_Default extends Smarty_Internal_CompileBase
in package

Switch default statement plugin for smarty.

Tags
subpackage

Compiler

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')

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.

Parameters
$args :
$compiler :
Return values
string

Search results