extends |
Modal |
|---|---|
implements |
JsExecutorInterface |
uses |
CommonExecutorTrait, HookTrait |
Modal executor for action that required a confirmation.
| Methods | ||
|---|---|---|
protected
|
init(): void
|
# |
protected
|
afterActionInit(): void
|
# |
private
|
jsShowAndLoad(array<string, string> $urlArgs): JsBlock
|
# |
public
|
jsExecute(array $urlArgs = []): JsBlock
|
# |
public
|
getAction(): UserAction
|
# |
public
|
setAction(UserAction $action)
|
# |
public
|
executeModelAction(): void
|
# |
protected
|
jsSetButtonsState(View $view): void
|
# |
public
|
doConfirmation(View $modal): void
|
# |
protected
|
addConfirmation(View $view): void
|
# |
protected
|
doFinal(View $modal): void
|
# |
protected
|
jsGetExecute(mixed $obj, string|int $id): JsBlock
|
# |
| Methods inherited from Atk4\Ui\Modal |
|---|
set(), enableCallback(), addContentCss(), jsShow(), jsHide(), setOption(), addScrolling(), addDenyAction(), addApproveAction(), addButtonAction(), notClosable(), renderView() |
| 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\Ui\UserAction\CommonExecutorTrait |
|---|
executeModelActionLoad() |
| Properties | |||
|---|---|---|---|
public
|
UserAction|null
|
$action
|
# |
public
|
Loader|null
|
$loader
|
# |
public
|
string
|
$loaderUi = 'basic segment'
|
# |
public
|
array|View|null
|
$loaderShim
|
# |
public
|
JsExpressionable|Closure
|
$jsSuccess
|
# |
public
|
string
|
$size = 'tiny'
|
# |
private
|
string|null
|
$step
|
# |
private
|
Button
|
$ok
|
# |
private
|
Button
|
$cancel
|
# |
| Properties inherited from Atk4\Ui\Modal |
|---|
$ui, $defaultTemplate, $title, $loadingLabel, $headerCss, $fx, $cb, $cbView, $args, $options, $type, $contentCss, $showActions |
| Properties inherited from Atk4\Ui\View |
|---|
$_jsActions, $model, $region, $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 |
| Properties used from Atk4\Core\HookTrait |
|---|
$hooks, $_hookIndexCounter, $_hookOrigThis |