Class Atk4\Data\Model\UserAction

uses DiContainerTrait, InitializerTrait, TrackableTrait

Implements generic user action. Assigned to a model it can be invoked by a user. Model\UserAction class contains a meta information about the action (arguments, permissions, appliesTo records, etc) that will help UI/API or add-ons to display action trigger (button) correctly in an automated way.

UserAction must NOT rely on any specific UI implementation.

Methods
Methods used from Atk4\Core\DiContainerTrait
setDefaults(), setMissingProperty(), assertInstanceOf(), _fromSeedPrecheck(), fromSeed(), fromSeedUnsafe()
Methods used from Atk4\Core\InitializerTrait
init(), isInitialized(), assertIsInitialized(), invokeInit()
Methods used from Atk4\Core\TrackableTrait
issetOwner(), setOwner(), unsetOwner(), getDesiredName(), destroy()
Constants
Properties
Properties used from Atk4\Core\InitializerTrait
$_initialized
Properties used from Atk4\Core\TrackableTrait
$_owner, $shortName