_init('blog/comment'); } public function addApproveFilter($status) { $this->getSelect() ->where('status = ?', $status); return $this; } public function addPostFilter($postId) { $this->getSelect() ->where('post_id = ?', $postId); return $this; } }