TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
TreeRepresentationNode.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Backend\Tree
;
3
22
class
TreeRepresentationNode
extends
\TYPO3\CMS\Backend\Tree\TreeNode
{
23
29
protected
$label
=
''
;
30
36
protected
$type
=
''
;
37
43
protected
$class
=
''
;
44
50
protected
$icon
=
''
;
51
57
protected
$callbackAction
=
''
;
58
63
public
function
setClass
(
$class
) {
64
$this->
class
=
$class
;
65
}
66
70
public
function
getClass
() {
71
return
$this->class
;
72
}
73
78
public
function
setIcon
(
$icon
) {
79
$this->icon =
$icon
;
80
}
81
85
public
function
getIcon
() {
86
return
$this->icon
;
87
}
88
92
public
function
setLabel
(
$label
) {
93
$this->label =
$label
;
94
}
95
99
public
function
getLabel
() {
100
return
$this->label
;
101
}
102
107
public
function
setType
(
$type
) {
108
$this->type =
$type
;
109
}
110
114
public
function
getType
() {
115
return
$this->type
;
116
}
117
124
public
function
setCallbackAction
(
$callbackAction
) {
125
$this->callbackAction =
$callbackAction
;
126
}
127
133
public
function
getCallbackAction
() {
134
return
$this->callbackAction
;
135
}
136
143
public
function
toArray
($addChildNodes = TRUE) {
144
$arrayRepresentation = parent::toArray();
145
$arrayRepresentation = array_merge($arrayRepresentation, array(
146
'label'
=> $this->label,
147
'type'
=> $this->type,
148
'class'
=> $this->
class
,
149
'icon'
=> $this->icon,
150
'callbackAction'
=> $this->callbackAction
151
));
152
return
$arrayRepresentation;
153
}
154
161
public
function
dataFromArray
($data) {
162
parent::dataFromArray($data);
163
$this->
setLabel
($data[
'label'
]);
164
$this->
setType
($data[
'type'
]);
165
$this->
setClass
($data[
'class'
]);
166
$this->
setIcon
($data[
'icon'
]);
167
$this->
setCallbackAction
($data[
'callbackAction'
]);
168
}
169
170
}
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\$icon
$icon
Definition:
TreeRepresentationNode.php:50
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\setCallbackAction
setCallbackAction($callbackAction)
Definition:
TreeRepresentationNode.php:124
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\setClass
setClass($class)
Definition:
TreeRepresentationNode.php:63
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\dataFromArray
dataFromArray($data)
Definition:
TreeRepresentationNode.php:161
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\getCallbackAction
getCallbackAction()
Definition:
TreeRepresentationNode.php:133
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\getClass
getClass()
Definition:
TreeRepresentationNode.php:70
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\$label
$label
Definition:
TreeRepresentationNode.php:29
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\$callbackAction
$callbackAction
Definition:
TreeRepresentationNode.php:57
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\setType
setType($type)
Definition:
TreeRepresentationNode.php:107
TYPO3\CMS\Backend\Tree
Definition:
AbstractExtJsTree.php:2
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\$type
$type
Definition:
TreeRepresentationNode.php:36
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\toArray
toArray($addChildNodes=TRUE)
Definition:
TreeRepresentationNode.php:143
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\$class
$class
Definition:
TreeRepresentationNode.php:43
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\setIcon
setIcon($icon)
Definition:
TreeRepresentationNode.php:78
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\getType
getType()
Definition:
TreeRepresentationNode.php:114
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\getLabel
getLabel()
Definition:
TreeRepresentationNode.php:99
TYPO3\CMS\Backend\Tree\TreeNode
Definition:
TreeNode.php:25
TYPO3\CMS\Backend\Tree\TreeRepresentationNode
Definition:
TreeRepresentationNode.php:22
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\setLabel
setLabel($label)
Definition:
TreeRepresentationNode.php:92
TYPO3\CMS\Backend\Tree\TreeRepresentationNode\getIcon
getIcon()
Definition:
TreeRepresentationNode.php:85
typo3
sysext
backend
Classes
Tree
TreeRepresentationNode.php
Generated on Wed Aug 7 2019 09:52:19 for TYPO3 CMS by
1.8.13