/** * @name deleteAbonnement($pId) * @param integer * @desc Supprime un Abonnement */ public function deleteAbonnement($pId) { $lAbonnementValid = new AbonnementValid(); if ($lAbonnementValid->deleteAbonnement($pId)) { $lCompteAbonnementVO = CompteAbonnementManager::select($pId); $lCompteAbonnementVO->setEtat(1); $this->updateAbonnement($lCompteAbonnementVO); } else { return false; } }