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
get(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

getScope()

No description

bool
isNested()

Are we nested inside an already open form?

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 get(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 108
void begin(Container $form, bool $detached = false)

No description

Parameters

Container $form
bool $detached

Return Value

void

at line 134
void end()

No description

Return Value

void

at line 141
Container getScope()

No description

Return Value

Container

at line 148
bool isNested()

Are we nested inside an already open form?

Return Value

bool