class Row implements Renderable

Properties

protected Closure $callback

Callback for add field to current row.s.

protected Form $form

Parent form.

protected array $fields

Fields in this row.

protected int $defaultFieldWidth

Default field width for appended field.

Methods

__construct(Closure $callback, Form $form)

Row constructor.

array
getFields()

Get fields of this row.

$this
width(int $width = 12)

Set width for an incomming field.

Factory|View
render()

Render the row.

Field|void
__call(string $method, array $arguments)

Add field.

Details

at line 47
__construct(Closure $callback, Form $form)

Row constructor.

Parameters

Closure $callback
Form $form

at line 61
array getFields()

Get fields of this row.

Return Value

array

at line 73
$this width(int $width = 12)

Set width for an incomming field.

Parameters

int $width

Return Value

$this

at line 85
Factory|View render()

Render the row.

Return Value

Factory|View

at line 98
Field|void __call(string $method, array $arguments)

Add field.

Parameters

string $method
array $arguments

Return Value

Field|void