/** * Delete the object from database * * @return void */ public function delete() { try { parent::delete(); $this->db->delete("documents_elements", $this->db->quoteInto("documentId = ?", $this->model->getId())); } catch (Exception $e) { throw $e; } }
/** * Deletes the folder * * @return void */ public function delete() { parent::delete(); }
/** * Deletes the object (and data) from database * * @return void */ public function delete() { try { $this->db->delete("documents_hardlink", $this->db->quoteInto("id = ?", $this->model->getId())); parent::delete(); } catch (Exception $e) { throw $e; } }