_init('clnews/comment'); } public function addApproveFilter($status) { $this->getSelect() ->where('comment_status = ?', $status); return $this; } public function addNewsFilter($newsId) { $this->getSelect() ->where('news_id = ?', $newsId); return $this; } }