‪TYPO3CMS  9.5
BackendModule.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
21 {
25  protected ‪$title = '';
26 
30  protected ‪$name = '';
31 
35  protected ‪$icon = '';
36 
40  protected ‪$link = '';
41 
45  protected ‪$onClick = '';
46 
50  protected ‪$description = '';
51 
55  protected ‪$navigationComponentId = '';
56 
60  protected ‪$navigationFrameScript = '';
61 
66 
70  protected ‪$children;
71 
75  protected ‪$collapsed = false;
76 
80  public function ‪__construct()
81  {
82  $this->children = new \SplObjectStorage();
83  }
84 
90  public function ‪setChildren(‪$children)
91  {
92  $this->children = ‪$children;
93  }
94 
100  public function ‪getChildren()
101  {
102  return ‪$this->children;
103  }
104 
110  public function ‪addChild(\‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child)
111  {
112  $this->children->attach($child);
113  }
114 
120  public function ‪setIcon(‪$icon)
121  {
122  $this->icon = ‪$icon;
123  }
124 
130  public function ‪getIcon()
131  {
132  return ‪$this->icon;
133  }
134 
140  public function ‪setName(‪$name)
141  {
142  $this->name = ‪$name;
143  }
144 
150  public function ‪getName()
151  {
152  return ‪$this->name;
153  }
154 
160  public function ‪setTitle(‪$title)
161  {
162  $this->title = ‪$title;
163  }
164 
170  public function ‪getTitle()
171  {
172  return ‪$this->title;
173  }
174 
180  public function ‪setLink(‪$link)
181  {
182  $this->link = ‪$link;
183  }
184 
190  public function ‪getLink()
191  {
192  return ‪$this->link;
193  }
194 
200  public function ‪setDescription(‪$description)
201  {
202  $this->description = ‪$description;
203  }
204 
210  public function ‪getDescription()
211  {
212  return ‪$this->description;
213  }
214 
221  {
222  $this->navigationComponentId = ‪$navigationComponentId;
223  }
224 
230  public function ‪getNavigationComponentId()
231  {
233  }
234 
239  {
240  $this->navigationFrameScript = ‪$navigationFrameScript;
241  }
242 
246  public function ‪getNavigationFrameScript()
247  {
249  }
250 
255  {
256  $this->navigationFrameScriptParameters = ‪$navigationFrameScriptParameters;
257  }
258 
262  public function ‪getNavigationFrameScriptParameters()
263  {
265  }
266 
272  public function ‪setOnClick(‪$onClick)
273  {
274  $this->onClick = ‪$onClick;
275  }
276 
282  public function ‪getOnClick()
283  {
284  return ‪$this->onClick;
285  }
286 
287  public function ‪setCollapsed(bool ‪$collapsed): void
288  {
289  $this->collapsed = ‪$collapsed;
290  }
291 
292  public function ‪getCollapsed(): bool
293  {
294  return ‪$this->collapsed;
295  }
296 }
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setLink
‪setLink($link)
Definition: BackendModule.php:169
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getNavigationFrameScriptParameters
‪string getNavigationFrameScriptParameters()
Definition: BackendModule.php:251
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setChildren
‪setChildren($children)
Definition: BackendModule.php:79
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getDescription
‪string getDescription()
Definition: BackendModule.php:199
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\__construct
‪__construct()
Definition: BackendModule.php:69
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getOnClick
‪string getOnClick()
Definition: BackendModule.php:271
‪TYPO3\CMS\Backend\Domain\Model\Module
Definition: BackendModule.php:2
‪TYPO3
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setNavigationFrameScriptParameters
‪setNavigationFrameScriptParameters($navigationFrameScriptParameters)
Definition: BackendModule.php:243
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$link
‪string $link
Definition: BackendModule.php:36
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setIcon
‪setIcon($icon)
Definition: BackendModule.php:109
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$icon
‪string $icon
Definition: BackendModule.php:32
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getIcon
‪string getIcon()
Definition: BackendModule.php:119
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getName
‪string getName()
Definition: BackendModule.php:139
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getNavigationComponentId
‪string getNavigationComponentId()
Definition: BackendModule.php:219
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getLink
‪string getLink()
Definition: BackendModule.php:179
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$name
‪string $name
Definition: BackendModule.php:28
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$navigationFrameScriptParameters
‪string $navigationFrameScriptParameters
Definition: BackendModule.php:56
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$navigationComponentId
‪string $navigationComponentId
Definition: BackendModule.php:48
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getCollapsed
‪getCollapsed()
Definition: BackendModule.php:281
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setNavigationFrameScript
‪setNavigationFrameScript($navigationFrameScript)
Definition: BackendModule.php:227
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$children
‪SplObjectStorage $children
Definition: BackendModule.php:60
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getTitle
‪string getTitle()
Definition: BackendModule.php:159
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$title
‪string $title
Definition: BackendModule.php:24
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getChildren
‪SplObjectStorage getChildren()
Definition: BackendModule.php:89
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setCollapsed
‪setCollapsed(bool $collapsed)
Definition: BackendModule.php:276
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\addChild
‪addChild(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child)
Definition: BackendModule.php:99
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setNavigationComponentId
‪setNavigationComponentId($navigationComponentId)
Definition: BackendModule.php:209
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$navigationFrameScript
‪string $navigationFrameScript
Definition: BackendModule.php:52
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$collapsed
‪bool $collapsed
Definition: BackendModule.php:64
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$description
‪string $description
Definition: BackendModule.php:44
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule
Definition: BackendModule.php:21
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$onClick
‪string $onClick
Definition: BackendModule.php:40
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getNavigationFrameScript
‪string getNavigationFrameScript()
Definition: BackendModule.php:235
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setName
‪setName($name)
Definition: BackendModule.php:129
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setTitle
‪setTitle($title)
Definition: BackendModule.php:149
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setOnClick
‪setOnClick($onClick)
Definition: BackendModule.php:261
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setDescription
‪setDescription($description)
Definition: BackendModule.php:189