Form extends Form
Table of Contents
- $formDiv : mixed
- __construct() : mixed
- Bootstrap Form
- addInput() : mixed
- Vloží prvek do formuláře.
- addItem() : pointer
- Vloží další element do formuláře a upraví mu css.
Properties
$formDiv
public
mixed
$formDiv
= null
Methods
__construct()
Bootstrap Form
public
__construct([array<string|int, mixed> $formProperties = [] ][, array<string|int, mixed> $formDivProperties = [] ][, mixed $formContents = null ]) : mixed
Parameters
- $formProperties : array<string|int, mixed> = []
-
FormTag properties eg. ['enctype' => 'multipart/form-data']
- $formDivProperties : array<string|int, mixed> = []
-
FormDiv propertise eg. ['class'=>'form-row align-items-center']
- $formContents : mixed = null
-
Any other initial content
Tags
Return values
mixed —addInput()
Vloží prvek do formuláře.
public
addInput(mixed $input[, string $caption = null ][, string $placeholder = null ][, string $helptext = null ]) : mixed
Parameters
- $input : mixed
-
Vstupní prvek
- $caption : string = null
-
Popisek
- $placeholder : string = null
-
předvysvětlující text
- $helptext : string = null
-
Dodatečná nápověda
Return values
mixed —addItem()
Vloží další element do formuláře a upraví mu css.
public
addItem(mixed $pageItem[, string $pageItemName = null ]) : pointer
Parameters
- $pageItem : mixed
-
hodnota nebo EaseObjekt s metodou draw()
- $pageItemName : string = null
-
Pod tímto jménem je objekt vkládán do stromu
Return values
pointer —Odkaz na vložený objekt