‪TYPO3CMS  11.5
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 {
31  private ‪$rollbackFields;
32 
36  private ‪$diff;
37 
42 
46  private ‪$recordHistory;
47 
57  {
58  $this->rollbackFields = ‪$rollbackFields;
59  $this->diff = ‪$diff;
60  $this->recordHistory = $recordHistoryRollback;
61  $this->backendUserAuthentication = ‪$backendUserAuthentication;
62  }
63 
65  {
67  }
68 
69  public function ‪getRollbackFields(): string
70  {
72  }
73 
74  public function ‪getDiff(): array
75  {
76  return ‪$this->diff;
77  }
78 
80  {
82  }
83 }
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\$backendUserAuthentication
‪BackendUserAuthentication null $backendUserAuthentication
Definition: BeforeHistoryRollbackStartEvent.php:38
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\getRecordHistoryRollback
‪getRecordHistoryRollback()
Definition: BeforeHistoryRollbackStartEvent.php:60
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\$rollbackFields
‪string $rollbackFields
Definition: BeforeHistoryRollbackStartEvent.php:30
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\__construct
‪__construct(string $rollbackFields, array $diff, RecordHistoryRollback $recordHistoryRollback, BackendUserAuthentication $backendUserAuthentication=null)
Definition: BeforeHistoryRollbackStartEvent.php:52
‪TYPO3\CMS\Backend\History\RecordHistoryRollback
Definition: RecordHistoryRollback.php:29
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\$diff
‪array $diff
Definition: BeforeHistoryRollbackStartEvent.php:34
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\getRollbackFields
‪getRollbackFields()
Definition: BeforeHistoryRollbackStartEvent.php:65
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\getBackendUserAuthentication
‪getBackendUserAuthentication()
Definition: BeforeHistoryRollbackStartEvent.php:75
‪TYPO3\CMS\Backend\History\Event
Definition: AfterHistoryRollbackFinishedEvent.php:18
‪TYPO3\CMS\Backend\History\Event\BeforeHistoryRollbackStartEvent\$recordHistory
‪RecordHistoryRollback $recordHistory
Definition: BeforeHistoryRollbackStartEvent.php:42
‪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\getDiff
‪getDiff()
Definition: BeforeHistoryRollbackStartEvent.php:70