‪TYPO3CMS  ‪main
BeforeHistoryRollbackStartEvent.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 ‪RecordHistoryRollback $recordHistoryRollback,
32  private ?‪BackendUserAuthentication $backendUserAuthentication = null
33  ) {}
34 
36  {
37  return $this->recordHistoryRollback;
38  }
39 
40  public function ‪getRollbackFields(): string
41  {
42  return $this->rollbackFields;
43  }
44 
45  public function ‪getDiff(): array
46  {
47  return $this->diff;
48  }
49 
51  {
52  return $this->backendUserAuthentication;
53  }
54 }
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\getRecordHistoryRollback
‪getRecordHistoryRollback()
Definition: BeforeHistoryRollbackStartEvent.php:35
‪TYPO3\CMS\Backend\History\RecordHistoryRollback
Definition: RecordHistoryRollback.php:29
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\getRollbackFields
‪getRollbackFields()
Definition: BeforeHistoryRollbackStartEvent.php:40
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\getBackendUserAuthentication
‪getBackendUserAuthentication()
Definition: BeforeHistoryRollbackStartEvent.php:50
‪TYPO3\CMS\Backend\History\Event
Definition: AfterHistoryRollbackFinishedEvent.php:18
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent
Definition: BeforeHistoryRollbackStartEvent.php:27
‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
Definition: BackendUserAuthentication.php:62
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\__construct
‪__construct(private string $rollbackFields, private array $diff, private RecordHistoryRollback $recordHistoryRollback, private ?BackendUserAuthentication $backendUserAuthentication=null)
Definition: BeforeHistoryRollbackStartEvent.php:28
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\getDiff
‪getDiff()
Definition: BeforeHistoryRollbackStartEvent.php:45