class Runtime

internal  
 

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)

No description

Parameters

$name

at line 97
getControl()

No description

at line 103
bool isRequired()

No description

Return Value

bool

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

No description

Parameters

$key
$default

Traits

StaticClass