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
DatabaseTreeNode.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Core\Tree\TableConfiguration
;
3
21
class
DatabaseTreeNode
extends
\TYPO3\CMS\Backend\Tree\TreeRepresentationNode
{
22
26
protected
$selectable
;
27
31
protected
$selected
= FALSE;
32
36
protected
$expanded
= TRUE;
37
41
protected
$hasChildren
= FALSE;
42
46
private
$sortValue
;
47
54
public
function
setExpanded
(
$expanded
) {
55
$this->expanded =
$expanded
;
56
}
57
63
public
function
getExpanded
() {
64
return
$this->expanded
;
65
}
66
73
public
function
setSelectable
(
$selectable
) {
74
$this->selectable =
$selectable
;
75
}
76
82
public
function
getSelectable
() {
83
return
$this->selectable
;
84
}
85
92
public
function
setSelected
(
$selected
) {
93
$this->selected =
$selected
;
94
}
95
101
public
function
getSelected
() {
102
return
$this->selected
;
103
}
104
110
public
function
hasChildren
() {
111
return
$this->hasChildren
;
112
}
113
120
public
function
setHasChildren
($value) {
121
$this->
hasChildren
= (bool) $value;
122
}
123
135
public
function
compareTo
($other) {
136
if
($this->
equals
($other)) {
137
return
0;
138
}
139
return
$this->sortValue > $other->getSortValue() ? 1 : -1;
140
}
141
147
public
function
getSortValue
() {
148
return
$this->sortValue
;
149
}
150
157
public
function
setSortValue
(
$sortValue
) {
158
$this->sortValue =
$sortValue
;
159
}
160
161
}
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\getExpanded
getExpanded()
Definition:
DatabaseTreeNode.php:63
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\$hasChildren
$hasChildren
Definition:
DatabaseTreeNode.php:41
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\$sortValue
$sortValue
Definition:
DatabaseTreeNode.php:46
TYPO3\CMS\Core\Tree\TableConfiguration
Definition:
AbstractTableConfigurationTreeDataProvider.php:2
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\setSelected
setSelected($selected)
Definition:
DatabaseTreeNode.php:92
TYPO3\CMS\Backend\Tree\TreeNode\equals
equals(\TYPO3\CMS\Backend\Tree\TreeNode $other)
Definition:
TreeNode.php:149
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\hasChildren
hasChildren()
Definition:
DatabaseTreeNode.php:110
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\setSelectable
setSelectable($selectable)
Definition:
DatabaseTreeNode.php:73
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\setHasChildren
setHasChildren($value)
Definition:
DatabaseTreeNode.php:120
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode
Definition:
DatabaseTreeNode.php:21
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\setSortValue
setSortValue($sortValue)
Definition:
DatabaseTreeNode.php:157
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\$selectable
$selectable
Definition:
DatabaseTreeNode.php:26
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\getSortValue
getSortValue()
Definition:
DatabaseTreeNode.php:147
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\getSelected
getSelected()
Definition:
DatabaseTreeNode.php:101
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\$expanded
$expanded
Definition:
DatabaseTreeNode.php:36
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\$selected
$selected
Definition:
DatabaseTreeNode.php:31
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\getSelectable
getSelectable()
Definition:
DatabaseTreeNode.php:82
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\compareTo
compareTo($other)
Definition:
DatabaseTreeNode.php:135
TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeNode\setExpanded
setExpanded($expanded)
Definition:
DatabaseTreeNode.php:54
TYPO3\CMS\Backend\Tree\TreeRepresentationNode
Definition:
TreeRepresentationNode.php:22
typo3
sysext
core
Classes
Tree
TableConfiguration
DatabaseTreeNode.php
Generated on Wed Aug 7 2019 09:52:21 for TYPO3 CMS by
1.8.13