private function setBoard($board_id, $request_data, $render = true) { $board = null; $board = PaForumBoard::getPaForumBoard($board_id); if (is_object($board)) { $this->setupBoard($board); $this->user_status = $this->checkUser($request_data); if ($render) { $this->buildBoard($board); } } }
public function getBoard() { $this->board = PaForumBoard::getPaForumBoard($this->board_id); return $this->board; }