public function load_fields_from_array($data)
 {
     if (is_array($data)) {
         for ($a = 0; $a < count($data); $a++) {
             $r = $data[$a];
             if (is_array($r) && isset($r['value']) && isset($r['field_id']) && isset($r['comment_id']) && $r['comment_id'] == $this->id) {
                 $v = $r['value'];
                 if (cgfb_comment_ops::get_fielddef_type($r['field_id']) == 4) {
                     $v = explode(',', $v);
                 }
                 $this->set_field_by_id($r['field_id'], $v);
             }
         }
     }
 }