class FormNode extends StatementNode

{form [scope|detached] name [, attributes]} ... {/form} Renders form tags and initializes form context.

The scope keyword makes {form} skip the

tag emission while still pushing the form on the stack — semantically identical to {formContext}, but with the canonical {form} tag. The detached keyword emits an empty ...
at the opening position and links every control to it via the HTML5 form= attribute. Use it when the layout contains a component that renders its own
— HTML rejects nested forms, so the controls must live outside the element.

Constants

private Modes

Properties

$name
$attributes
$content
$print
$mode

Methods

static Generator
create(Tag $tag)

No description

string
print(PrintContext $context)

No description

getIterator()

No description

Details

at line 43
static Generator create(Tag $tag)

No description

Parameters

Tag $tag

Return Value

Generator

at line 75
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 104
Generator getIterator()

No description

Return Value

Generator