‪TYPO3CMS  ‪main
DataProviderContext.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 {
27  protected int ‪$pageId = 0;
28  protected string ‪$tableName = '';
29  protected string ‪$fieldName = '';
30  protected array ‪$data = [];
31  protected array ‪$pageTsConfig = [];
32 
33  public function ‪getPageId(): int
34  {
35  return ‪$this->pageId;
36  }
37 
38  public function ‪setPageId(int ‪$pageId): self
39  {
40  $this->pageId = ‪$pageId;
41  return $this;
42  }
43 
44  public function ‪getTableName(): string
45  {
46  return ‪$this->tableName;
47  }
48 
49  public function ‪setTableName(string ‪$tableName): self
50  {
51  $this->tableName = ‪$tableName;
52  return $this;
53  }
54 
55  public function ‪getFieldName(): string
56  {
57  return ‪$this->fieldName;
58  }
59 
60  public function ‪setFieldName(string ‪$fieldName): self
61  {
62  $this->fieldName = ‪$fieldName;
63  return $this;
64  }
65 
66  public function ‪getData(): array
67  {
68  return ‪$this->data;
69  }
70 
71  public function ‪setData(array ‪$data): self
72  {
73  $this->data = ‪$data;
74  return $this;
75  }
76 
77  public function ‪getPageTsConfig(): array
78  {
80  }
81 
82  public function ‪setPageTsConfig(array ‪$pageTsConfig): self
83  {
84  $this->pageTsConfig = ‪$pageTsConfig;
85  return $this;
86  }
87 }
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\setPageId
‪setPageId(int $pageId)
Definition: DataProviderContext.php:38
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\getPageTsConfig
‪getPageTsConfig()
Definition: DataProviderContext.php:77
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\setFieldName
‪setFieldName(string $fieldName)
Definition: DataProviderContext.php:60
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\getFieldName
‪getFieldName()
Definition: DataProviderContext.php:55
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\$data
‪array $data
Definition: DataProviderContext.php:30
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\setPageTsConfig
‪setPageTsConfig(array $pageTsConfig)
Definition: DataProviderContext.php:82
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\$fieldName
‪string $fieldName
Definition: DataProviderContext.php:29
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\getData
‪getData()
Definition: DataProviderContext.php:66
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\$tableName
‪string $tableName
Definition: DataProviderContext.php:28
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\getTableName
‪getTableName()
Definition: DataProviderContext.php:44
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\getPageId
‪getPageId()
Definition: DataProviderContext.php:33
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\setData
‪setData(array $data)
Definition: DataProviderContext.php:71
‪TYPO3\CMS\Backend\View\BackendLayout
Definition: BackendLayout.php:18
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\$pageId
‪int $pageId
Definition: DataProviderContext.php:27
‪TYPO3\CMS\Core\SingletonInterface
Definition: SingletonInterface.php:22
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\setTableName
‪setTableName(string $tableName)
Definition: DataProviderContext.php:49
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext\$pageTsConfig
‪array $pageTsConfig
Definition: DataProviderContext.php:31
‪TYPO3\CMS\Backend\View\BackendLayout\DataProviderContext
Definition: DataProviderContext.php:26