‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement Class Reference

Public Member Functions

 __toString ()
 

Static Public Member Functions

static forAction (string $action)
 
static moduleStateUpdate (string $module, $identifier, bool $select=null)
 
static moduleStateUpdateWithCurrentMount (string $module, $identifier, bool $select=null)
 
static dispatchCustomEvent (string $name, array $details=null, bool $useTop=false)
 

Protected Attributes

string $action
 
array $args = null
 

Private Member Functions

 __construct (string $action, ?array $args)
 

Detailed Description

Model for creating an immediate action element on a module

not part of TYPO3 Core API due to possible refactorings in this place.

Definition at line 27 of file ImmediateActionElement.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement::__construct ( string  $action,
?array  $args 
)
private

Member Function Documentation

◆ __toString()

TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement::__toString ( )

◆ dispatchCustomEvent()

static TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement::dispatchCustomEvent ( string  $name,
array  $details = null,
bool  $useTop = false 
)
static

◆ forAction()

static TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement::forAction ( string  $action)
static

◆ moduleStateUpdate()

static TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement::moduleStateUpdate ( string  $module,
  $identifier,
bool  $select = null 
)
static

Definition at line 37 of file ImmediateActionElement.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

◆ moduleStateUpdateWithCurrentMount()

static TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement::moduleStateUpdateWithCurrentMount ( string  $module,
  $identifier,
bool  $select = null 
)
static

Definition at line 45 of file ImmediateActionElement.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

Member Data Documentation

◆ $action

◆ $args

array TYPO3\CMS\Backend\Domain\Model\Element\ImmediateActionElement::$args = null
protected