Пример #1
0
 /**
  * Deletes object from database
  *
  * @return void
  */
 public function delete()
 {
     try {
         $this->db->delete("plugin_ratingscomments_ratings", "id='" . $this->model->getId() . "'");
     } catch (Exception $e) {
         throw $e;
     }
 }