summaryrefslogtreecommitdiff
path: root/includes/database/prefetch.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-20 20:02:31 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-20 20:02:31 +0000
commitf09028107ca18a8f897ff517d2ed04688e1c567d (patch)
tree1f6cff867077daac6dbdd9a78967679cadef1b8c /includes/database/prefetch.inc
parent10931908b5885741be806ff15586770691801e51 (diff)
downloadbrdo-f09028107ca18a8f897ff517d2ed04688e1c567d.tar.gz
brdo-f09028107ca18a8f897ff517d2ed04688e1c567d.tar.bz2
- Patch #413732 by brianV: database code clean-up.
Diffstat (limited to 'includes/database/prefetch.inc')
-rw-r--r--includes/database/prefetch.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/includes/database/prefetch.inc b/includes/database/prefetch.inc
index dd8f96fd7..e4db32464 100644
--- a/includes/database/prefetch.inc
+++ b/includes/database/prefetch.inc
@@ -1,5 +1,5 @@
<?php
-// $Id $
+// $Id$
/**
* @file
@@ -89,7 +89,7 @@ class DatabaseStatementPrefetch implements Iterator, DatabaseStatementInterface
/**
* Holds the current fetch style (which will be used by the next fetch).
- * @see PDOStatement::fetch.
+ * @see PDOStatement::fetch()
*
* @var int
*/
@@ -177,7 +177,8 @@ class DatabaseStatementPrefetch implements Iterator, DatabaseStatementInterface
$this->rowCount = $statement->rowCount();
$this->data = $statement->fetchAll(PDO::FETCH_ASSOC);
// Destroy the statement as soon as possible.
- // @see DatabaseConnection_sqlite::PDOPrepare for explanation.
+ // See DatabaseConnection_sqlite::PDOPrepare() for explanation.
+ // @see DatabaseConnection_sqlite::PDOPrepare()
unset($statement);
$this->resultRowCount = count($this->data);
@@ -236,7 +237,7 @@ class DatabaseStatementPrefetch implements Iterator, DatabaseStatementInterface
}
/**
- * @see PDOStatement::setFetchMode.
+ * @see PDOStatement::setFetchMode()
*/
public function setFetchMode($fetchStyle, $a2 = NULL, $a3 = NULL) {
$this->defaultFetchStyle = $fetchStyle;