‪TYPO3CMS  10.4
GetVersionedDataEvent.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 
28 {
32  private ‪$gridService;
33 
37  private ‪$data;
38 
42  private ‪$dataArrayPart;
43 
47  private ‪$start;
48 
52  private ‪$limit;
53 
55  {
56  $this->gridService = ‪$gridService;
57  $this->data = ‪$data;
58  $this->start = ‪$start;
59  $this->limit = ‪$limit;
60  $this->dataArrayPart = ‪$dataArrayPart;
61  }
62 
64  {
65  return ‪$this->gridService;
66  }
67 
68  public function ‪getData(): array
69  {
70  return ‪$this->data;
71  }
72 
73  public function ‪setData(array ‪$data): void
74  {
75  $this->data = ‪$data;
76  }
77 
78  public function ‪getDataArrayPart(): array
79  {
81  }
82 
83  public function ‪setDataArrayPart(array ‪$dataArrayPart): void
84  {
85  $this->dataArrayPart = ‪$dataArrayPart;
86  }
87 
88  public function ‪getStart(): int
89  {
90  return ‪$this->start;
91  }
92 
93  public function ‪getLimit(): int
94  {
95  return ‪$this->limit;
96  }
97 }
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\$gridService
‪GridDataService $gridService
Definition: GetVersionedDataEvent.php:31
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\getGridService
‪getGridService()
Definition: GetVersionedDataEvent.php:58
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\$dataArrayPart
‪array $dataArrayPart
Definition: GetVersionedDataEvent.php:39
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\getData
‪getData()
Definition: GetVersionedDataEvent.php:63
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\$limit
‪int $limit
Definition: GetVersionedDataEvent.php:47
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\setData
‪setData(array $data)
Definition: GetVersionedDataEvent.php:68
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\getDataArrayPart
‪getDataArrayPart()
Definition: GetVersionedDataEvent.php:73
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\getStart
‪getStart()
Definition: GetVersionedDataEvent.php:83
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\getLimit
‪getLimit()
Definition: GetVersionedDataEvent.php:88
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\$start
‪int $start
Definition: GetVersionedDataEvent.php:43
‪TYPO3\CMS\Workspaces\Event
Definition: AfterCompiledCacheableDataForWorkspaceEvent.php:18
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\$data
‪array $data
Definition: GetVersionedDataEvent.php:35
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\__construct
‪__construct(GridDataService $gridService, array $data, int $start, int $limit, array $dataArrayPart)
Definition: GetVersionedDataEvent.php:49
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent
Definition: GetVersionedDataEvent.php:28
‪TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent\setDataArrayPart
‪setDataArrayPart(array $dataArrayPart)
Definition: GetVersionedDataEvent.php:78
‪TYPO3\CMS\Workspaces\Service\GridDataService
Definition: GridDataService.php:42