diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-09-18 22:46:30 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-09-18 22:46:30 +0100 |
| commit | a307abf7f996ee3699201b6f9e69c9958706c75d (patch) | |
| tree | bc91e8af5d3c8328eec597455fbbf975023e4d09 /library | |
| parent | 061bd94436fb2031f826f2511dbd773045914f12 (diff) | |
| download | webtrees-a307abf7f996ee3699201b6f9e69c9958706c75d.tar.gz webtrees-a307abf7f996ee3699201b6f9e69c9958706c75d.tar.bz2 webtrees-a307abf7f996ee3699201b6f9e69c9958706c75d.zip | |
Missing method from WT_DBStatement
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/DBStatement.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/library/WT/DBStatement.php b/library/WT/DBStatement.php index 58088bf234..245aec51d6 100644 --- a/library/WT/DBStatement.php +++ b/library/WT/DBStatement.php @@ -197,4 +197,13 @@ class WT_DBStatement { return $list; } + + /** + * How many rows were affected by this statement. + * + * @return int + */ + public function rowCount() { + return $this->pdo_statement->rowCount(); + } } |
