function inc_comments_amount()
 {
     $this->comments_amount++;
     if (!is_array($this->cat_ids)) {
         $this->generate_content_in_cat_data();
     }
     if (is_array($this->cat_ids)) {
         foreach ($this->cat_ids as $cat_id) {
             $cat = new categorie();
             $cat->generate_from_id($cat_id);
             $cat->inc_child_comments_amount();
             $this->commit_parent_cats[] = $cat;
         }
     }
 }
 function commit()
 {
     if (!isset($this->id)) {
         $cat = new categorie();
         $cat->generate_from_id($this->owner_id);
         $cat->inc_child_comments_amount();
         $cat->commit();
     }
     comment::commit();
 }