dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1b87e
)
Add protected getCurrentRow to TablePager
author
addshore
<addshorewiki@gmail.com>
Sat, 29 Aug 2015 12:08:44 +0000
(14:08 +0200)
committer
Reedy
<reedy@wikimedia.org>
Sat, 29 Aug 2015 12:13:47 +0000
(12:13 +0000)
This makes unit testing TablePagers easier
Change-Id: I899ec6b056fb1f007a6caf0be320324cffe08326
includes/pager/TablePager.php
patch
|
blob
|
history
diff --git
a/includes/pager/TablePager.php
b/includes/pager/TablePager.php
index
8095539
..
ea619f1
100644
(file)
--- a/
includes/pager/TablePager.php
+++ b/
includes/pager/TablePager.php
@@
-233,6
+233,13
@@
abstract class TablePager extends IndexPager {
}
}
+ /**
+ * @return stdClass
+ */
+ protected function getCurrentRow() {
+ return $this->mCurrentRow;
+ }
+
/**
* Get any extra attributes to be applied to the given cell. Don't
* take this as an excuse to hardcode styles; use classes and