diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-10-13 20:20:02 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-10-13 20:20:02 -0400 |
commit | 1d9c067a64242e60c4fe72f685a609b005932e5d (patch) | |
tree | 724124b7c1544d3eaf4cbfd403d787b8f5f93d1d /includes | |
parent | 4c90f539bde6a0b635c18b20dc592ef4cab8f268 (diff) | |
download | brdo-1d9c067a64242e60c4fe72f685a609b005932e5d.tar.gz brdo-1d9c067a64242e60c4fe72f685a609b005932e5d.tar.bz2 |
- Patch #341038 by jhodgdon, kathyh, sdboyer: Docblock for DatabaseStatementInterface is a bit off.
Diffstat (limited to 'includes')
-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 {} |