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 42
static Generator create(Tag $tag, TemplateParser $parser)

No description

Parameters

Tag $tag
TemplateParser $parser

Return Value

Generator

at line 96
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 174
Generator getIterator()

No description

Return Value

Generator