class Runtime

internal  
 

Runtime rendering helpers used by Latte v2 & v3.

Methods

static void
initializeForm(Form $form)

Fires render events and resets the 'rendered' option on all controls.

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

Renders form begin.

static string
renderFormEnd(Form $form, bool $withTags = true)

Renders form end.

static object
item(object|string|int $item, object $global)

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

Details

at line 28
static void initializeForm(Form $form)

Fires render events and resets the 'rendered' option on all controls.

Parameters

Form $form

Return Value

void

at line 41
static string renderFormBegin(Form $form, array $attrs, bool $withTags = true)

Renders form begin.

Parameters

Form $form
array $attrs
bool $withTags

Return Value

string

at line 58
static string renderFormEnd(Form $form, bool $withTags = true)

Renders form end.

Parameters

Form $form
bool $withTags

Return Value

string

at line 86
static object item(object|string|int $item, object $global)

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

Parameters

object|string|int $item
object $global

Return Value

object

Traits

StaticClass