Vitex Software's Ease Twitter Bootstrap5

Form extends Form
in package

Table of Contents

$formDiv  : DivTag
__construct()  : mixed
Bootstrap Form.
addInput()  : mixed
Inserts an element into the form.
addItem()  : Embedable|null
Inserts another element into the form and adjusts its CSS.

Properties

$formDiv

public DivTag $formDiv

Methods

__construct()

Bootstrap Form.

public __construct([array<string, string> $formProperties = [] ][, array<string, string> $formDivProperties = [] ][, mixed $formContents = null ]) : mixed
Parameters
$formProperties : array<string, string> = []

FormTag properties eg. ['enctype' => 'multipart/form-data']

$formDivProperties : array<string, string> = []

FormDiv propertise eg. ['class'=>'form-row align-items-center']

$formContents : mixed = null

Any other initial content

Tags
see
https://getbootstrap.com/docs/4.1/components/forms/
Return values
mixed

addInput()

Inserts an element into the form.

public addInput(mixed $input[, string $caption = null ][, string $placeholder = null ][, string $helptext = null ]) : mixed
Parameters
$input : mixed

Input element

$caption : string = null

Caption

$placeholder : string = null

Placeholder text

$helptext : string = null

Additional help text

Return values
mixed

addItem()

Inserts another element into the form and adjusts its CSS.

public addItem(mixed $pageItem[, string $pageItemName = null ]) : Embedable|null
Parameters
$pageItem : mixed

Value or EaseObject with draw() method

$pageItemName : string = null

The name under which the object is inserted into the tree

Return values
Embedable|null

Reference to the inserted object

Search results