/** * Creates a new ModerationReportsPage object. */ public function __construct() { if ($this->postList === null) { $this->postList = new ReportsPostList(); } parent::__construct(); }
/** * @see MultipleLinkPage::countItems() */ public function countItems() { if (empty($this->sqlConditions)) { return 0; } return parent::countItems(); }
/** * Creates a new ModerationHiddenPostsPage object. */ public function __construct() { $boardIDs = Board::getModeratedBoards('canEnablePost'); $this->sqlConditions .= ' AND thread.boardID IN (' . (!empty($boardIDs) ? $boardIDs : 0) . ')'; parent::__construct(); }