public function delete(Folleto $folleto) { $stmt = $this->db->prepare("DELETE from folleto WHERE idFolleto=?"); $stmt->execute(array($folleto->getIdFolleto())); }