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
Statement.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extbase\Persistence\Generic\Qom
;
3
19
class
Statement
implements
ConstraintInterface
{
20
24
protected
$statement
;
25
29
protected
$boundVariables
= array();
30
37
public
function
__construct
(
$statement
, array
$boundVariables
= array()) {
38
// @deprecated since 6.2, using $boundVariables without preparedStatement will be removed in two versions
39
if
(
40
!empty(
$boundVariables
)
41
&& !(
$statement
instanceof \
TYPO3
\CMS\Core\Database\PreparedStatement)
42
) {
43
\TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog
(
'Using boundVariables'
44
.
' in Extbase\'s custom statement without using preparedStatement is'
45
.
' deprecated since TYPO3 6.2 and will be removed in two versions.'
);
46
}
47
$this->statement =
$statement
;
48
$this->boundVariables =
$boundVariables
;
49
}
50
56
public
function
getStatement
() {
57
return
$this->statement
;
58
}
59
65
public
function
getBoundVariables
() {
66
return
$this->boundVariables
;
67
}
68
75
public
function
collectBoundVariableNames
(&
$boundVariables
) {
76
}
77
}
TYPO3
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement\$statement
$statement
Definition:
Statement.php:24
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement\$boundVariables
$boundVariables
Definition:
Statement.php:29
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement
Definition:
Statement.php:19
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement\getBoundVariables
getBoundVariables()
Definition:
Statement.php:65
TYPO3\CMS\Core\Utility\GeneralUtility\deprecationLog
static deprecationLog($msg)
Definition:
GeneralUtility.php:5183
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement\__construct
__construct($statement, array $boundVariables=array())
Definition:
Statement.php:37
TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface
Definition:
ConstraintInterface.php:22
TYPO3\CMS\Extbase\Persistence\Generic\Qom
Definition:
AndInterface.php:2
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement\collectBoundVariableNames
collectBoundVariableNames(&$boundVariables)
Definition:
Statement.php:75
TYPO3\CMS\Extbase\Persistence\Generic\Qom\Statement\getStatement
getStatement()
Definition:
Statement.php:56
typo3
sysext
extbase
Classes
Persistence
Generic
Qom
Statement.php
Generated on Wed Aug 7 2019 09:52:24 for TYPO3 CMS by
1.8.13