extends |
AbstractLayout |
|---|
Provides generic layout for a form.
| Methods | ||
|---|---|---|
protected
|
_addControl(Control $control, Field $field): Control
|
# |
protected
|
init(): void
|
# |
public
|
addButton($seed)
|
# |
public
|
addHeader(string|array $label): $this
|
# |
public
|
addGroup(string|array $label = null): static
|
# |
public
|
addSubLayout(mixed $seed = [self::class], bool $addDivider = true): self
|
# |
protected
|
recursiveRender(): void
|
# |
| Methods inherited from Atk4\Ui\Form\AbstractLayout |
|---|
addControl(), getModelFields(), setModel(), getControl(), |
| Methods inherited from Atk4\Ui\AbstractView |
|---|
getOwner() |
| Methods used from Atk4\Core\AppScopeTrait |
|---|
assertInstanceOfApp(), issetApp(), getApp(), setApp() |
| Methods used from Atk4\Core\ContainerTrait |
|---|
_uniqueElementName(), _addContainer(), removeElement(), _shorten(), getElement(), hasElement() |
| Methods used from Atk4\Core\InitializerTrait |
|---|
isInitialized(), assertIsInitialized(), invokeInit() |
| Methods used from Atk4\Core\StaticAddToTrait |
|---|
_addToAdd(), addTo(), addToWithCl(), addToWithClUnsafe() |
| Methods used from Atk4\Core\TrackableTrait |
|---|
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy() |
| Methods used from Atk4\Core\WarnDynamicPropertyTrait |
|---|
warnPropertyDoesNotExist(), __isset(), __get(), __set(), __unset() |
| Properties | |||
|---|---|---|---|
public
|
|
$defaultTemplate = 'form/layout/generic.html'
|
# |
public
|
string
|
$defaultInputTemplate = 'form/layout/generic-input.html'
|
# |
public
|
string|null
|
$label
|
# |
public
|
string
|
$width
|
# |
public
|
bool
|
$inline = false
|
# |
public
|
HtmlTemplate|null
|
$inputTemplate
|
# |
public
|
array
|
$defaultHint = [Label::class, 'class' => ['pointing']]
|
# |
| Properties inherited from Atk4\Ui\Form\AbstractLayout |
|---|
$form |
| Properties inherited from Atk4\Ui\View |
|---|
$_jsActions, $model, $region, $ui, $class, $style, $attr, $template, $content, $element, $executorFactory, $stickyArgs |
| Properties inherited from Atk4\Ui\AbstractView |
|---|
$_addLater, $_rendered, $elements |
| Properties used from Atk4\Core\AppScopeTrait |
|---|
$_app, $maxNameLength, $uniqueNameHashes |
| Properties used from Atk4\Core\ContainerTrait |
|---|
$_elementNameCounts |
| Properties used from Atk4\Core\InitializerTrait |
|---|
$_initialized |
| Properties used from Atk4\Core\NameTrait |
|---|
$name |
| Properties used from Atk4\Core\TrackableTrait |
|---|
$_owner, $shortName |