◆ __construct()
| __construct |
( |
|
$param = array() | ) |
|
◆ addForm()
| addForm |
( |
|
$index, |
|
|
Form |
$form, |
|
|
|
$viewKey = NULL |
|
) |
| |
Prida formular $form do seznamu pod klicem $index
Pokud je treba ve view zpristupnit pod jinym klicem nez defaultnim ('form'.ucfirst($index)) budiz zadan do $viewKey
- Parameters
-
| mixed | $index | |
| \IZON\Forms\Form | $form | |
| string | $viewKey | pod jakym klicem bude formular dostupny ve view |
◆ addForms()
| addForms |
( |
|
$index, |
|
|
array |
$form, |
|
|
|
$viewKey = NULL |
|
) |
| |
Stejne jako addForm, jen umozni pridat pod jeden klic vice formularu
- Parameters
-
| type | $index | |
| array | $form | |
| type | $viewKey | |
◆ getForm()
◆ getForms()
◆ getFormWithViewKey()
| getFormWithViewKey |
( |
|
$index | ) |
|
Vrati formular s klicem, pod kterym ma byt dostupny ve view
Pokud nebude zadany, vrati se jako klic index, pod kterym je ulozen
- Parameters
-
- Returns
- array
◆ removeForm()
Odstrani jiz zaregistrovany formular
- Parameters
-
◆ setForms()
◆ $forms
The documentation for this class was generated from the following file: