public function rules()
{
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(array('left_comments, right_comments, eye_id, left_rapd, right_rapd', 'safe'), array('id, event_id, left_comments, right_comments, eye_id', 'safe', 'on' => 'search'));
}