Represents a prepared statement.
Some methods in that class are purposefully commented out. Due to a change in how PHP defines PDOStatement, we can't define a signature for those methods that will work the same way between versions older than 5.2.6 and later versions. See http://bugs.php.net/bug.php?id=42452 for more details.
Child implementations should either extend PDOStatement:
class DatabaseStatement_oracle extends PDOStatement implements DatabaseStatementInterface {
}
or define their own class. If defining their own class, they will also have to implement either the Iterator or IteratorAggregate interface before DatabaseStatementInterface:
class DatabaseStatement_oracle implements Iterator, DatabaseStatementInterface {
}
Expanded class hierarchy of DatabaseStatementInterface
All classes that implement DatabaseStatementInterface
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DatabaseStatementInterface:: |
public | function | Executes a prepared statement | 3 |
DatabaseStatementInterface:: |
public | function | Returns the result set as an associative array keyed by the given field. | 3 |
DatabaseStatementInterface:: |
public | function | Returns the entire result set as a single associative array. | 3 |
DatabaseStatementInterface:: |
public | function | Fetches the next row and returns it as an associative array. | 3 |
DatabaseStatementInterface:: |
public | function | Returns an entire single column of a result set as an indexed array. | 3 |
DatabaseStatementInterface:: |
public | function | Returns a single field from the next record of a result set. | 3 |
DatabaseStatementInterface:: |
public | function | Gets the query string of this statement. | 3 |
DatabaseStatementInterface:: |
public | function | Returns the number of rows affected by the last SQL statement. | 2 |