TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
backend
Classes
Domain
Model
Module
BackendModule.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Backend\Domain\Model\Module;
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
20
class
BackendModule
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
65
protected
$navigationFrameScriptParameters
=
''
;
66
70
protected
$children
;
71
75
public
function
__construct
()
76
{
77
$this->children = new \SplObjectStorage();
78
}
79
86
public
function
setChildren
(
$children
)
87
{
88
$this->children =
$children
;
89
}
90
96
public
function
getChildren
()
97
{
98
return
$this->children
;
99
}
100
107
public
function
addChild
(\TYPO3\CMS\Backend\Domain\Model\Module\
BackendModule
$child)
108
{
109
$this->children->attach($child);
110
}
111
118
public
function
setIcon
(
$icon
)
119
{
120
$this->icon =
$icon
;
121
}
122
128
public
function
getIcon
()
129
{
130
return
$this->icon
;
131
}
132
139
public
function
setName
(
$name
)
140
{
141
$this->name =
$name
;
142
}
143
149
public
function
getName
()
150
{
151
return
$this->name
;
152
}
153
160
public
function
setTitle
(
$title
)
161
{
162
$this->title =
$title
;
163
}
164
170
public
function
getTitle
()
171
{
172
return
$this->title
;
173
}
174
181
public
function
setLink
(
$link
)
182
{
183
$this->link =
$link
;
184
}
185
191
public
function
getLink
()
192
{
193
return
$this->link
;
194
}
195
202
public
function
setDescription
(
$description
)
203
{
204
$this->description =
$description
;
205
}
206
212
public
function
getDescription
()
213
{
214
return
$this->description
;
215
}
216
223
public
function
setNavigationComponentId
(
$navigationComponentId
)
224
{
225
$this->navigationComponentId =
$navigationComponentId
;
226
}
227
233
public
function
getNavigationComponentId
()
234
{
235
return
$this->navigationComponentId
;
236
}
237
241
public
function
setNavigationFrameScript
(
$navigationFrameScript
)
242
{
243
$this->navigationFrameScript =
$navigationFrameScript
;
244
}
245
249
public
function
getNavigationFrameScript
()
250
{
251
return
$this->navigationFrameScript
;
252
}
253
257
public
function
setNavigationFrameScriptParameters
(
$navigationFrameScriptParameters
)
258
{
259
$this->navigationFrameScriptParameters =
$navigationFrameScriptParameters
;
260
}
261
265
public
function
getNavigationFrameScriptParameters
()
266
{
267
return
$this->navigationFrameScriptParameters
;
268
}
269
276
public
function
setOnClick
(
$onClick
)
277
{
278
$this->onClick =
$onClick
;
279
}
280
286
public
function
getOnClick
()
287
{
288
return
$this->onClick
;
289
}
290
}
Generated on Wed Nov 11 2015 01:51:50 for TYPO3 by
1.8.3