public function rules() { return array(array('comment_text', 'safe'), array('comment_text', 'required'), array('id, comment_text', 'safe', 'on' => 'search')); }