class Runtime

Runtime helpers for Latte.

Properties

$inner

Methods

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 void
renderBlueprint($form)

Generates blueprint of form.

getLabel($name = null)

No description

getControl()

No description

bool
isRequired()

No description

getOption($key, $default = null)

No description

Details

at line 29
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 49
static string renderFormEnd(Form $form, bool $withTags = true)

Renders form end.

Parameters

Form $form
bool $withTags

Return Value

string

at line 80
static void renderBlueprint($form)

Generates blueprint of form.

Parameters

$form

Return Value

void

at line 89
getLabel($name = null)

Parameters

$name

at line 97
getControl()

at line 103
bool isRequired()

Return Value

bool

at line 109
getOption($key, $default = null)

Parameters

$key
$default

Traits

Static class.