class Runtime

internal  
 

Runtime rendering helpers used by Latte.

Methods

string
renderFormBegin(array $attrs, bool $withTags = true)

Renders form begin.

string
renderFormEnd(bool $withTags = true)

Renders form end.

Container
item(object|string|int $item, string $type = Control::class)

Resolves a control or container from the current form on the stack.

void
begin(Container $form, bool $detached = false)

No description

void
end()

No description

current()

No description

Details

at line 36
string renderFormBegin(array $attrs, bool $withTags = true)

Renders form begin.

Parameters

array $attrs
bool $withTags

Return Value

string

at line 58
string renderFormEnd(bool $withTags = true)

Renders form end.

Parameters

bool $withTags

Return Value

string

at line 93
Container item(object|string|int $item, string $type = Control::class)

Resolves a control or container from the current form on the stack.

Parameters

object|string|int $item
string $type

Return Value

Container

at line 110
void begin(Container $form, bool $detached = false)

No description

Parameters

Container $form
bool $detached

Return Value

void

at line 135
void end()

No description

Return Value

void

at line 142
Container current()

No description

Return Value

Container