‪TYPO3CMS  ‪main
AfterHistoryRollbackFinishedEvent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
22 
27 {
28  public function ‪__construct(
29  private string $rollbackFields,
30  private array $diff,
31  private array $dataHandlerInput,
32  private ‪RecordHistoryRollback $recordHistoryRollback,
33  private ?‪BackendUserAuthentication $backendUserAuthentication = null
34  ) {}
35 
37  {
38  return $this->recordHistoryRollback;
39  }
40 
41  public function ‪getRollbackFields(): string
42  {
43  return $this->rollbackFields;
44  }
45 
46  public function ‪getDiff(): array
47  {
48  return $this->diff;
49  }
50 
51  public function ‪getDataHandlerInput(): array
52  {
53  return $this->dataHandlerInput;
54  }
55 
57  {
58  return $this->backendUserAuthentication;
59  }
60 }
‪TYPO3\CMS\Backend\History\Event\AfterHistoryRollbackFinishedEvent\getDataHandlerInput
‪getDataHandlerInput()
Definition: AfterHistoryRollbackFinishedEvent.php:51
‪TYPO3\CMS\Backend\History\Event\AfterHistoryRollbackFinishedEvent\getBackendUserAuthentication
‪getBackendUserAuthentication()
Definition: AfterHistoryRollbackFinishedEvent.php:56
‪TYPO3\CMS\Backend\History\Event\AfterHistoryRollbackFinishedEvent\getRecordHistoryRollback
‪getRecordHistoryRollback()
Definition: AfterHistoryRollbackFinishedEvent.php:36
‪TYPO3\CMS\Backend\History\RecordHistoryRollback
Definition: RecordHistoryRollback.php:29
‪TYPO3\CMS\Backend\History\Event
Definition: AfterHistoryRollbackFinishedEvent.php:18
‪TYPO3\CMS\Backend\History\Event\AfterHistoryRollbackFinishedEvent\__construct
‪__construct(private string $rollbackFields, private array $diff, private array $dataHandlerInput, private RecordHistoryRollback $recordHistoryRollback, private ?BackendUserAuthentication $backendUserAuthentication=null)
Definition: AfterHistoryRollbackFinishedEvent.php:28
‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
Definition: BackendUserAuthentication.php:62
‪TYPO3\CMS\Backend\History\Event\AfterHistoryRollbackFinishedEvent
Definition: AfterHistoryRollbackFinishedEvent.php:27
‪TYPO3\CMS\Backend\History\Event\AfterHistoryRollbackFinishedEvent\getRollbackFields
‪getRollbackFields()
Definition: AfterHistoryRollbackFinishedEvent.php:41
‪TYPO3\CMS\Backend\History\Event\AfterHistoryRollbackFinishedEvent\getDiff
‪getDiff()
Definition: AfterHistoryRollbackFinishedEvent.php:46