‪TYPO3CMS  10.4
SortVersionedDataEvent.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 
21 
26 {
30  private ‪$gridService;
31 
35  private ‪$data;
36 
40  private ‪$sortColumn;
41 
45  private ‪$sortDirection;
46 
48  {
49  $this->gridService = ‪$gridService;
50  $this->data = ‪$data;
51  $this->sortColumn = ‪$sortColumn;
52  $this->sortDirection = ‪$sortDirection;
53  }
54 
55  public function ‪getGridService(): ‪GridDataService
56  {
57  return ‪$this->gridService;
58  }
59 
60  public function ‪getData(): array
61  {
62  return ‪$this->data;
63  }
64 
65  public function ‪setData(array ‪$data): void
66  {
67  $this->data = ‪$data;
68  }
69 
70  public function ‪getSortColumn(): string
71  {
72  return ‪$this->sortColumn;
73  }
74 
75  public function ‪setSortColumn(string ‪$sortColumn): void
76  {
77  $this->sortColumn = ‪$sortColumn;
78  }
79 
80  public function ‪getSortDirection(): string
81  {
83  }
84 
85  public function ‪setSortDirection(string ‪$sortDirection): void
86  {
87  $this->sortDirection = ‪$sortDirection;
88  }
89 }
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\$sortColumn
‪string $sortColumn
Definition: SortVersionedDataEvent.php:37
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent
Definition: SortVersionedDataEvent.php:26
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\setData
‪setData(array $data)
Definition: SortVersionedDataEvent.php:61
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\$sortDirection
‪string $sortDirection
Definition: SortVersionedDataEvent.php:41
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\getGridService
‪getGridService()
Definition: SortVersionedDataEvent.php:51
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\getSortColumn
‪getSortColumn()
Definition: SortVersionedDataEvent.php:66
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\__construct
‪__construct(GridDataService $gridService, array $data, string $sortColumn, string $sortDirection)
Definition: SortVersionedDataEvent.php:43
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\getData
‪getData()
Definition: SortVersionedDataEvent.php:56
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\setSortDirection
‪setSortDirection(string $sortDirection)
Definition: SortVersionedDataEvent.php:81
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\$data
‪array $data
Definition: SortVersionedDataEvent.php:33
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\$gridService
‪GridDataService $gridService
Definition: SortVersionedDataEvent.php:29
‪TYPO3\CMS\Workspaces\Event
Definition: AfterCompiledCacheableDataForWorkspaceEvent.php:18
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\getSortDirection
‪getSortDirection()
Definition: SortVersionedDataEvent.php:76
‪TYPO3\CMS\Workspaces\Service\GridDataService
Definition: GridDataService.php:42
‪TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent\setSortColumn
‪setSortColumn(string $sortColumn)
Definition: SortVersionedDataEvent.php:71