extends |
View |
|---|
Provides generic functionality for a form control.
| Type aliases | ||
|---|---|---|
JsCallbackSetClosure
|
Closure(Jquery, mixed, mixed, mixed, mixed, mixed, mixed, mixed, mixed, mixed, mixed): (JsExpressionable|View|string|void)
|
# |
| Methods | ||
|---|---|---|
protected
|
init(): void
|
# |
public
|
set(mixed $value = null)
|
# |
protected
|
renderView(): void
|
# |
protected
|
renderTemplateToHtml(): string
|
# |
public
|
onChange(JsExpressionable|JsCallbackSetClosure|array{JsCallbackSetClosure} $expr, array|bool $defaults = []): void
|
# |
public
|
jsInput(
bool|string $when = false,
($when is false ? null : JsExpressionable|null) $action = null,
): ($action is null ? Jquery : null)
|
# |
| 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() |
| Properties | |||
|---|---|---|---|
public
|
Form|null
|
$form
|
# |
public
|
EntityFieldPair<Model, Field>|null
|
$entityField
|
# |
public
|
string
|
$controlClass = ''
|
# |
public
|
bool
|
$layoutWrap = true
|
# |
public
|
bool
|
$renderLabel = true
|
# |
public
|
string
|
$width
|
# |
public
|
string|null
|
$caption
|
# |
public
|
string|View|array
|
$hint
|
# |
public
|
bool
|
$disabled = false
|
# |
public
|
bool
|
$readOnly = false
|
# |
| Properties inherited from Atk4\Ui\View |
|---|
$_jsActions, $model, $region, $ui, $class, $style, $attr, $template, $defaultTemplate, $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 |