‪TYPO3CMS  ‪main
PageInformation.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 
29 final class ‪PageInformation
30 {
31  private int ‪$id;
32  private array ‪$pageRecord;
33  private string ‪$mountPoint = '';
34  private int ‪$contentFromPid;
35 
40  private ?array ‪$originalShortcutPageRecord = null;
41 
46  private ?array ‪$originalMountPointPageRecord = null;
47 
74  private array ‪$rootLine;
75 
96  private array ‪$localRootLine;
97 
103  private array ‪$sysTemplateRows;
104 
110  private ?‪PageLayout ‪$pageLayout = null;
111 
115  public function ‪setId(int ‪$id): void
116  {
117  $this->id = ‪$id;
118  }
119 
120  public function ‪getId(): int
121  {
122  return ‪$this->id;
123  }
124 
128  public function ‪setPageRecord(array ‪$pageRecord): void
129  {
130  $this->pageRecord = ‪$pageRecord;
131  }
132 
133  public function ‪getPageRecord(): array
134  {
135  return ‪$this->pageRecord;
136  }
137 
141  public function ‪setMountPoint(string ‪$mountPoint): void
142  {
143  $this->mountPoint = ‪$mountPoint;
144  }
145 
149  public function ‪getMountPoint(): string
150  {
151  return ‪$this->mountPoint;
152  }
153 
157  public function ‪setRootLine(array ‪$rootLine): void
158  {
159  $this->rootLine = ‪$rootLine;
160  }
161 
162  public function ‪getRootLine(): array
163  {
164  return ‪$this->rootLine;
165  }
166 
170  public function ‪setLocalRootLine(array ‪$localRootLine): void
171  {
172  $this->localRootLine = ‪$localRootLine;
173  }
174 
175  public function ‪getLocalRootLine(): array
176  {
178  }
179 
183  public function ‪setSysTemplateRows(array ‪$sysTemplateRows): void
184  {
185  $this->sysTemplateRows = ‪$sysTemplateRows;
186  }
187 
191  public function ‪getSysTemplateRows(): array
192  {
194  }
195 
200  {
201  $this->originalShortcutPageRecord = ‪$originalShortcutPageRecord;
202  }
203 
207  public function ‪getOriginalShortcutPageRecord(): ?array
208  {
210  }
211 
216  {
217  $this->originalMountPointPageRecord = ‪$originalMountPointPageRecord;
218  }
219 
223  public function ‪getOriginalMountPointPageRecord(): ?array
224  {
226  }
227 
231  public function ‪setContentFromPid(int ‪$contentFromPid): void
232  {
233  $this->contentFromPid = ‪$contentFromPid;
234  }
235 
239  public function ‪getContentFromPid(): int
240  {
242  }
243 
248  {
249  $this->pageLayout = ‪$pageLayout;
250  }
251 
252  public function ‪getPageLayout(): ?‪PageLayout
253  {
254  return ‪$this->pageLayout;
255  }
256 }
‪TYPO3\CMS\Frontend\Page\PageInformation\$mountPoint
‪string $mountPoint
Definition: PageInformation.php:33
‪TYPO3\CMS\Frontend\Page\PageInformation\getMountPoint
‪getMountPoint()
Definition: PageInformation.php:149
‪TYPO3\CMS\Frontend\Page\PageInformation\setMountPoint
‪setMountPoint(string $mountPoint)
Definition: PageInformation.php:141
‪TYPO3\CMS\Core\Page\PageLayout
Definition: PageLayout.php:27
‪TYPO3\CMS\Frontend\Page\PageInformation\getContentFromPid
‪getContentFromPid()
Definition: PageInformation.php:239
‪TYPO3\CMS\Frontend\Page\PageInformation\setLocalRootLine
‪setLocalRootLine(array $localRootLine)
Definition: PageInformation.php:170
‪TYPO3\CMS\Frontend\Page\PageInformation\setPageLayout
‪setPageLayout(PageLayout $pageLayout)
Definition: PageInformation.php:247
‪TYPO3\CMS\Frontend\Page\PageInformation\getSysTemplateRows
‪getSysTemplateRows()
Definition: PageInformation.php:191
‪TYPO3\CMS\Frontend\Page\PageInformation\getOriginalMountPointPageRecord
‪getOriginalMountPointPageRecord()
Definition: PageInformation.php:223
‪TYPO3\CMS\Frontend\Page\PageInformation\$contentFromPid
‪int $contentFromPid
Definition: PageInformation.php:34
‪TYPO3\CMS\Frontend\Page\PageInformation\setOriginalMountPointPageRecord
‪setOriginalMountPointPageRecord(array $originalMountPointPageRecord)
Definition: PageInformation.php:215
‪TYPO3\CMS\Frontend\Page\PageInformation\getRootLine
‪getRootLine()
Definition: PageInformation.php:162
‪TYPO3\CMS\Frontend\Page\PageInformation\setId
‪setId(int $id)
Definition: PageInformation.php:115
‪TYPO3\CMS\Frontend\Page\PageInformation\setSysTemplateRows
‪setSysTemplateRows(array $sysTemplateRows)
Definition: PageInformation.php:183
‪TYPO3\CMS\Frontend\Page\PageInformation\setOriginalShortcutPageRecord
‪setOriginalShortcutPageRecord(array $originalShortcutPageRecord)
Definition: PageInformation.php:199
‪TYPO3\CMS\Frontend\Page\PageInformation\$originalMountPointPageRecord
‪array $originalMountPointPageRecord
Definition: PageInformation.php:46
‪TYPO3\CMS\Frontend\Page\PageInformation\getLocalRootLine
‪getLocalRootLine()
Definition: PageInformation.php:175
‪TYPO3\CMS\Frontend\Page\PageInformation\$sysTemplateRows
‪array $sysTemplateRows
Definition: PageInformation.php:103
‪TYPO3\CMS\Frontend\Page\PageInformation\$localRootLine
‪array $localRootLine
Definition: PageInformation.php:96
‪TYPO3\CMS\Frontend\Page\PageInformation\getId
‪getId()
Definition: PageInformation.php:120
‪TYPO3\CMS\Frontend\Page\PageInformation\setPageRecord
‪setPageRecord(array $pageRecord)
Definition: PageInformation.php:128
‪TYPO3\CMS\Frontend\Page
Definition: CacheHashCalculator.php:16
‪TYPO3\CMS\Frontend\Page\PageInformation\getPageRecord
‪getPageRecord()
Definition: PageInformation.php:133
‪TYPO3\CMS\Frontend\Page\PageInformation\getOriginalShortcutPageRecord
‪getOriginalShortcutPageRecord()
Definition: PageInformation.php:207
‪TYPO3\CMS\Frontend\Page\PageInformation\$pageLayout
‪PageLayout $pageLayout
Definition: PageInformation.php:110
‪TYPO3\CMS\Frontend\Page\PageInformation\$originalShortcutPageRecord
‪array $originalShortcutPageRecord
Definition: PageInformation.php:40
‪TYPO3\CMS\Frontend\Page\PageInformation\setRootLine
‪setRootLine(array $rootLine)
Definition: PageInformation.php:157
‪TYPO3\CMS\Frontend\Page\PageInformation\$id
‪int $id
Definition: PageInformation.php:31
‪TYPO3\CMS\Frontend\Page\PageInformation\getPageLayout
‪getPageLayout()
Definition: PageInformation.php:252
‪TYPO3\CMS\Frontend\Page\PageInformation\setContentFromPid
‪setContentFromPid(int $contentFromPid)
Definition: PageInformation.php:231
‪TYPO3\CMS\Frontend\Page\PageInformation
Definition: PageInformation.php:30
‪TYPO3\CMS\Frontend\Page\PageInformation\$rootLine
‪array $rootLine
Definition: PageInformation.php:74
‪TYPO3\CMS\Frontend\Page\PageInformation\$pageRecord
‪array $pageRecord
Definition: PageInformation.php:32