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
Comparison.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extbase\Persistence\Generic\Qom
;
3
16
use
TYPO3\CMS\Extbase\Persistence\QueryInterface
;
17
61
class
Comparison
implements
ComparisonInterface
{
62
66
protected
$operand1
;
67
71
protected
$operator
;
72
76
protected
$operand2
;
77
81
protected
$parameterIdentifier
;
82
90
public
function
__construct
(
PropertyValueInterface
$operand1
,
$operator
,
$operand2
) {
91
$this->operand1 =
$operand1
;
92
$this->
operator
=
$operator
;
93
$this->operand2 =
$operand2
;
94
}
95
101
public
function
getOperand1
() {
102
return
$this->operand1
;
103
}
104
110
public
function
getOperator
() {
111
$operator
=
$this->operator
;
112
113
if
($this->
getOperand2
() === NULL) {
114
if
(
$operator
===
QueryInterface::OPERATOR_EQUAL_TO
) {
115
$operator
=
QueryInterface::OPERATOR_EQUAL_TO_NULL
;
116
} elseif (
$operator
===
QueryInterface::OPERATOR_NOT_EQUAL_TO
) {
117
$operator
=
QueryInterface::OPERATOR_NOT_EQUAL_TO_NULL
;
118
}
119
}
120
121
return
$operator
;
122
}
123
129
public
function
getOperand2
() {
130
return
$this->operand2
;
131
}
132
137
public
function
setParameterIdentifier
(
$parameterIdentifier
) {
138
$this->parameterIdentifier =
$parameterIdentifier
;
139
}
140
144
public
function
getParameterIdentifier
() {
145
return
$this->parameterIdentifier
;
146
}
147
154
public
function
collectBoundVariableNames
(&$boundVariables) {
155
}
156
}
QueryInterface
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getParameterIdentifier
getParameterIdentifier()
Definition:
Comparison.php:144
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\setParameterIdentifier
setParameterIdentifier($parameterIdentifier)
Definition:
Comparison.php:137
TYPO3\CMS\Extbase\Persistence\Generic\Qom\ComparisonInterface
Definition:
ComparisonInterface.php:61
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\__construct
__construct(PropertyValueInterface $operand1, $operator, $operand2)
Definition:
Comparison.php:90
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperator
getOperator()
Definition:
Comparison.php:110
TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_NOT_EQUAL_TO_NULL
const OPERATOR_NOT_EQUAL_TO_NULL
Definition:
QueryInterface.php:49
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$parameterIdentifier
$parameterIdentifier
Definition:
Comparison.php:81
TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO
const OPERATOR_EQUAL_TO
Definition:
QueryInterface.php:28
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operator
$operator
Definition:
Comparison.php:71
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperand2
getOperand2()
Definition:
Comparison.php:129
TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO_NULL
const OPERATOR_EQUAL_TO_NULL
Definition:
QueryInterface.php:35
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operand1
$operand1
Definition:
Comparison.php:66
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operand2
$operand2
Definition:
Comparison.php:76
TYPO3\CMS\Extbase\Persistence\Generic\Qom
Definition:
AndInterface.php:2
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperand1
getOperand1()
Definition:
Comparison.php:101
TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValueInterface
Definition:
PropertyValueInterface.php:27
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison
Definition:
Comparison.php:61
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\collectBoundVariableNames
collectBoundVariableNames(&$boundVariables)
Definition:
Comparison.php:154
TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_NOT_EQUAL_TO
const OPERATOR_NOT_EQUAL_TO
Definition:
QueryInterface.php:42
typo3
sysext
extbase
Classes
Persistence
Generic
Qom
Comparison.php
Generated on Wed Aug 7 2019 09:52:24 for TYPO3 CMS by
1.8.13