class IfNode extends StatementNode

{if $cond} & {elseif $cond} & {else} {if} & {/if $cond} {ifset $var} & {elseifset $var} {ifset block} & {elseifset block}

Properties

$condition
$then
$else
$elseLine
$capture
$ifset

Methods

static Generator
create(Tag $tag, TemplateParser $parser)

No description

string
print(PrintContext $context)

No description

getIterator()

No description

Details

at line 43
static Generator create(Tag $tag, TemplateParser $parser)

No description

Parameters

Tag $tag
TemplateParser $parser

Return Value

Generator

at line 94
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 172
Generator getIterator()

No description

Return Value

Generator