diff options
Diffstat (limited to 'includes/database')
-rw-r--r-- | includes/database/database.inc | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc index 3ca0f4710..33000aa70 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -1899,21 +1899,19 @@ class DatabaseTransaction { } /** - * A prepared statement. + * Represents a prepared statement. * - * Some methods in that class are purposely commented out. Due to a change in + * 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. - * - * Please refer to http://bugs.php.net/bug.php?id=42452 for more details. + * versions. See http://bugs.php.net/bug.php?id=42452 for more details. * * Child implementations should either extend PDOStatement: * @code * class DatabaseStatement_oracle extends PDOStatement implements DatabaseStatementInterface {} * @endcode - * or implement their own class, but in that case they will also have to - * implement the Iterator or IteratorArray interfaces before + * or define their own class. If defining their own class, they will also have + * to implement either the Iterator or IteratorAggregate interface before * DatabaseStatementInterface: * @code * class DatabaseStatement_oracle implements Iterator, DatabaseStatementInterface {} |