public static function checkExisteByLabel($label) { $motCleDAO = new MotCleDAO(BDD::getInstancePDO()); if (($res = $motCleDAO->checkExiste($label)) !== false) { return true; } return 'Le mot clé ' . $label . ' n\'existe pas'; }