}
}
-/* use TablePager for prettified output. We have to pretend that we're
+/**
+ * Use TablePager for prettified output. We have to pretend that we're
* getting data from a table when in fact not all of it comes from the database.
*/
class AllmessagesTablePager extends TablePager {
*/
public $lang;
+ /**
+ * @var null|bool
+ */
+ public $custom;
+
function __construct( $page, $conds, $langObj = null ) {
parent::__construct();
$this->mIndexField = 'am_title';
if( $this->foreign ) {
$title = explode( '/', $s->page_title );
if( count( $title ) === 2 && $this->langcode == $title[1]
- && isset( $xNames[$title[0]] ) )
- {
+ && isset( $xNames[$title[0]] ) ) {
$pageFlags["{$title[0]}"] = true;
}
} elseif( isset( $xNames[$s->page_title] ) ) {
return array( 'pages' => $pageFlags, 'talks' => $talkFlags );
}
- /* This function normally does a database query to get the results; we need
+ /**
+ * This function normally does a database query to get the results; we need
* to make a pretend result using a FakeResultWrapper.
*/
function reallyDoQuery( $offset, $limit, $descending ) {