TYPO3
7.6
|
Public Member Functions | |
__construct ($statement, array $boundVariables=array()) | |
getStatement () | |
getBoundVariables () | |
collectBoundVariableNames (&$boundVariables) | |
Protected Attributes | |
$statement | |
$boundVariables = array() | |
A statement acting as a constraint.
Definition at line 20 of file Statement.php.
__construct | ( | $statement, | |
array | $boundVariables = array() |
||
) |
Constructs the Statement instance
string | \TYPO3\CMS\Core\Database\PreparedStatement | $statement | The statement as sql string or TYPO3 |
array | $boundVariables | An array of variables to bind to the statement, only to be used with preparedStatement |
Definition at line 38 of file Statement.php.
References Statement\$boundVariables, and Statement\$statement.
collectBoundVariableNames | ( | & | $boundVariables | ) |
Fills an array with the names of all bound variables in the constraints
array | &$boundVariables |
Implements ConstraintInterface.
Definition at line 70 of file Statement.php.
getBoundVariables | ( | ) |
Gets the bound variables
Definition at line 59 of file Statement.php.
References Statement\$boundVariables.
getStatement | ( | ) |
Gets the statement.
Definition at line 49 of file Statement.php.
References Statement\$statement.
|
protected |
Definition at line 30 of file Statement.php.
Referenced by Statement\__construct(), and Statement\getBoundVariables().
|
protected |
Definition at line 25 of file Statement.php.
Referenced by Statement\__construct(), and Statement\getStatement().