‪TYPO3CMS  10.4
BackendModule.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
22 {
26  protected ‪$title = '';
27 
31  protected ‪$name = '';
32 
36  protected ‪$icon = '';
37 
41  protected ‪$link = '';
42 
46  protected ‪$onClick = '';
47 
51  protected ‪$description = '';
52 
56  protected ‪$navigationComponentId = '';
57 
61  protected ‪$navigationFrameScript = '';
62 
67 
71  protected ‪$children;
72 
76  protected ‪$collapsed = false;
77 
83  protected ‪$standalone = false;
84 
88  public function ‪__construct()
89  {
90  $this->children = new \SplObjectStorage();
91  }
92 
98  public function ‪setChildren(‪$children)
99  {
100  $this->children = ‪$children;
101  }
102 
108  public function ‪getChildren()
109  {
110  return ‪$this->children;
111  }
112 
118  public function ‪addChild(\‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child)
119  {
120  $this->children->attach($child);
121  }
122 
128  public function ‪setIcon(‪$icon)
129  {
130  $this->icon = ‪$icon;
131  }
132 
138  public function ‪getIcon()
139  {
140  return ‪$this->icon;
141  }
142 
148  public function ‪setName(‪$name)
149  {
150  $this->name = ‪$name;
151  }
152 
158  public function ‪getName()
159  {
160  return ‪$this->name;
161  }
162 
168  public function ‪setTitle(‪$title)
169  {
170  $this->title = ‪$title;
171  }
172 
178  public function ‪getTitle()
179  {
180  return ‪$this->title;
181  }
182 
188  public function ‪setLink(‪$link)
189  {
190  $this->link = ‪$link;
191  }
192 
198  public function ‪getLink()
199  {
200  return ‪$this->link;
201  }
202 
208  public function ‪setDescription(‪$description)
209  {
210  $this->description = ‪$description;
211  }
212 
218  public function ‪getDescription()
219  {
220  return ‪$this->description;
221  }
222 
229  {
230  $this->navigationComponentId = ‪$navigationComponentId;
231  }
232 
238  public function ‪getNavigationComponentId()
239  {
241  }
242 
247  {
248  $this->navigationFrameScript = ‪$navigationFrameScript;
249  }
250 
254  public function ‪getNavigationFrameScript()
255  {
257  }
258 
263  {
264  $this->navigationFrameScriptParameters = ‪$navigationFrameScriptParameters;
265  }
266 
270  public function ‪getNavigationFrameScriptParameters()
271  {
273  }
274 
280  public function ‪setOnClick(‪$onClick)
281  {
282  $this->onClick = ‪$onClick;
283  }
284 
290  public function ‪getOnClick()
291  {
292  return ‪$this->onClick;
293  }
294 
295  public function ‪setCollapsed(bool ‪$collapsed): void
296  {
297  $this->collapsed = ‪$collapsed;
298  }
299 
300  public function ‪getCollapsed(): bool
301  {
302  return ‪$this->collapsed;
303  }
304 
308  public function ‪isStandalone(): bool
309  {
310  return ‪$this->standalone;
311  }
312 
316  public function ‪setStandalone(bool ‪$standalone): void
317  {
318  $this->standalone = ‪$standalone;
319  }
320 }
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setLink
‪setLink($link)
Definition: BackendModule.php:176
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getNavigationFrameScriptParameters
‪string getNavigationFrameScriptParameters()
Definition: BackendModule.php:258
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setChildren
‪setChildren($children)
Definition: BackendModule.php:86
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$standalone
‪bool $standalone
Definition: BackendModule.php:71
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getDescription
‪string getDescription()
Definition: BackendModule.php:206
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\__construct
‪__construct()
Definition: BackendModule.php:76
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getOnClick
‪string getOnClick()
Definition: BackendModule.php:278
‪TYPO3\CMS\Backend\Domain\Model\Module
Definition: BackendModule.php:16
‪TYPO3
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setNavigationFrameScriptParameters
‪setNavigationFrameScriptParameters($navigationFrameScriptParameters)
Definition: BackendModule.php:250
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$link
‪string $link
Definition: BackendModule.php:37
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setIcon
‪setIcon($icon)
Definition: BackendModule.php:116
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$icon
‪string $icon
Definition: BackendModule.php:33
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getIcon
‪string getIcon()
Definition: BackendModule.php:126
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getName
‪string getName()
Definition: BackendModule.php:146
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\isStandalone
‪bool isStandalone()
Definition: BackendModule.php:296
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getNavigationComponentId
‪string getNavigationComponentId()
Definition: BackendModule.php:226
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getLink
‪string getLink()
Definition: BackendModule.php:186
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$name
‪string $name
Definition: BackendModule.php:29
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$navigationFrameScriptParameters
‪string $navigationFrameScriptParameters
Definition: BackendModule.php:57
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$navigationComponentId
‪string $navigationComponentId
Definition: BackendModule.php:49
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getCollapsed
‪getCollapsed()
Definition: BackendModule.php:288
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setStandalone
‪setStandalone(bool $standalone)
Definition: BackendModule.php:304
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setNavigationFrameScript
‪setNavigationFrameScript($navigationFrameScript)
Definition: BackendModule.php:234
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$children
‪SplObjectStorage $children
Definition: BackendModule.php:61
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getTitle
‪string getTitle()
Definition: BackendModule.php:166
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$title
‪string $title
Definition: BackendModule.php:25
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getChildren
‪SplObjectStorage getChildren()
Definition: BackendModule.php:96
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setCollapsed
‪setCollapsed(bool $collapsed)
Definition: BackendModule.php:283
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\addChild
‪addChild(\TYPO3\CMS\Backend\Domain\Model\Module\BackendModule $child)
Definition: BackendModule.php:106
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setNavigationComponentId
‪setNavigationComponentId($navigationComponentId)
Definition: BackendModule.php:216
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$navigationFrameScript
‪string $navigationFrameScript
Definition: BackendModule.php:53
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$collapsed
‪bool $collapsed
Definition: BackendModule.php:65
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$description
‪string $description
Definition: BackendModule.php:45
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule
Definition: BackendModule.php:22
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\$onClick
‪string $onClick
Definition: BackendModule.php:41
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\getNavigationFrameScript
‪string getNavigationFrameScript()
Definition: BackendModule.php:242
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setName
‪setName($name)
Definition: BackendModule.php:136
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setTitle
‪setTitle($title)
Definition: BackendModule.php:156
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setOnClick
‪setOnClick($onClick)
Definition: BackendModule.php:268
‪TYPO3\CMS\Backend\Domain\Model\Module\BackendModule\setDescription
‪setDescription($description)
Definition: BackendModule.php:196