Mock connection adapter statement class. Used for special testing purposes
at line 54
Constructor for mock adapter statements. Accepts instance of Doctrine_Adapter_Mock
at line 71
bindColumn(mixed $column, string $param, integer $type = null)
Bind a column to a PHP variable
at line 89
bindValue(mixed $param, mixed $value, integer $type = null)
Binds a value to a corresponding named or question mark placeholder in the SQL statement that was use to prepare the statement.
at line 120
bindParam($column, $variable, $type = null, $length = null, $driverOptions = array())
Binds a PHP variable to a corresponding named or question mark placeholder in the SQL statement that was use to prepare the statement. Unlike Doctrine_Adapter_Statement_Interface->bindValue(), the variable is bound as a reference and will only be evaluated at the time that Doctrine_Adapter_Statement_Interface->execute() is called.
Most parameters are input parameters, that is, parameters that are used in a read-only fashion to build up the query. Some drivers support the invocation of stored procedures that return data as output parameters, and some also as input/output parameters that both send in data and are updated to receive it.
at line 132
Closes the cursor, enabling the statement to be executed again.
at line 146
Returns the number of columns in the result set
at line 159
Fetch the SQLSTATE associated with the last operation on the statement handle
at line 172
Fetch extended error information associated with the last operation on the statement handle
at line 204
fetch(integer $fetchStyle = Doctrine_Core::FETCH_BOTH, integer $cursorOrientation = Doctrine_Core::FETCH_ORI_NEXT, integer $cursorOffset = null)
at line 225
fetchAll($fetchMode = Doctrine_Core::FETCH_BOTH)
Returns an array containing all of the result set rows
at line 246
execute(array $params = null)
Executes a prepared statement
If the prepared statement included parameter markers, you must either: call PDOStatement->bindParam() to bind PHP variables to the parameter markers: bound variables pass their value as input and receive the output value, if any, of their associated parameter markers or pass an array of input-only parameter values
at line 266
fetchColumn(integer $columnIndex = 0)
Returns a single column from the next row of a result set or FALSE if there are no more rows.
at line 285
fetchObject(string $className = 'stdClass', array $args = array())
Fetches the next row and returns it as an object.
Fetches the next row and returns it as an object. This function is an alternative to Doctrine_Adapter_Statement_Interface->fetch() with Doctrine_Core::FETCH_CLASS or Doctrine_Core::FETCH_OBJ style.
at line 302
Advances to the next rowset in a multi-rowset statement handle
Some database servers support stored procedures that return more than one rowset (also known as a result set). The nextRowset() method enables you to access the second and subsequent rowsets associated with a PDOStatement object. Each rowset can have a different set of columns from the preceding rowset.
at line 320
rowCount() returns the number of rows affected by the last DELETE, INSERT, or UPDATE statement executed by the corresponding object.
If the last SQL statement executed by the associated Statement object was a SELECT statement, some databases may return the number of rows returned by that statement. However, this behaviour is not guaranteed for all databases and should not be relied on for portable applications.
at line 342
Returns metadata for a column in a result set
at line 354
Retrieve a statement attribute
at line 366
setAttribute(integer $attribute, mixed $value)
Set a statement attribute
at line 377
setFetchMode($mode, $arg1 = null, $arg2 = null)
Set the default fetch mode for this statement