Skip to content
Snippets Groups Projects
Commit b4c28aba authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Aide de vue FormControlGroup : correction du rendu particulier des checkbox...

Aide de vue FormControlGroup :  correction du rendu particulier des checkbox simple : utilisation du marquage fourni par bootstrap (unicaen.css modifié).
parent 703c8c63
No related branches found
No related tags found
No related merge requests found
......@@ -42,13 +42,13 @@ class FaqService implements EntityManagerAwareInterface
*/
public function checkSchema()
{
$tableName = $this->entityManager->getClassMetadata($this->faqEntityClass)->getTableName();
$q = "select count(*) from ALL_TABLES where UPPER(TABLE_NAME) = UPPER(:tablename)";
$s = $this->entityManager->getConnection()->executeQuery($q, ['tablename' => $tableName]);
$count = (int) $s->fetchColumn(0);
if ($count === 0) {
throw new LogicException("La table $tableName est introuvable");
}
// $tableName = $this->entityManager->getClassMetadata($this->faqEntityClass)->getTableName();
// $q = "select count(*) from ALL_TABLES where UPPER(TABLE_NAME) = UPPER(:tablename)";
// $s = $this->entityManager->getConnection()->executeQuery($q, ['tablename' => $tableName]);
// $count = (int) $s->fetchColumn(0);
// if ($count === 0) {
// throw new LogicException("La table $tableName est introuvable");
// }
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment