/** * Creates a new ModerationReportsPage object. */ public function __construct() { if ($this->postList === null) { $this->postList = new ReportsPostList(); } parent::__construct(); }
/** * Creates a new ModerationMarkedPostsPage object. */ public function __construct() { if ($markedPosts = WCF::getSession()->getVar('markedPosts')) { $this->sqlConditions = 'post.postID IN (' . implode(',', $markedPosts) . ')'; } parent::__construct(); }
/** * Creates a new ModerationHiddenPostsPage object. */ public function __construct() { $boardIDs = Board::getModeratedBoards('canEnablePost'); $this->sqlConditions .= ' AND thread.boardID IN (' . (!empty($boardIDs) ? $boardIDs : 0) . ')'; parent::__construct(); }