public function getTheme()
 {
     $theme = null;
     if (is_int($this->theme)) {
         $theme = ThemeDAL::findById($this->theme);
     } else {
         if (is_a($this->theme, "Theme")) {
             $theme = $this->theme;
         }
     }
     return $theme;
 }
require_once $_SERVER['DOCUMENT_ROOT'] . '/WebBristol/model/DAL/ModuleDAL.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/WebBristol/model/DAL/PriceDAL.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/WebBristol/model/DAL/QuestionDAL.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/WebBristol/model/DAL/RoleDAL.php';
// OK
require_once $_SERVER['DOCUMENT_ROOT'] . '/WebBristol/model/DAL/ThemeDAL.php';
// OK
require_once $_SERVER['DOCUMENT_ROOT'] . '/WebBristol/model/DAL/TypeDAL.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/WebBristol/model/DAL/UserDAL.php';
// OK
// Date in a string
$now = date('Y-m-d');
// User
$user = UserDAL::findById(64);
// Theme
$theme = ThemeDAL::findById(4);
// Question
// $question = QuestionDAL::findById(21);
$question = new Question(0, 'Do you like ducks ?');
$question->setTheme($theme);
$idQuestion = QuestionDAL::flush($question);
if ($idAnswer > 0) {
    $answer->setId($idAnswer);
    $_SESSION['message']['success'] = 'Ca marche (' . $idAnswer . ')';
} else {
    $_SESSION['message']['warning'] = 'Ca a rate';
}
// Answer
$answer = new Answer(0, 'I don\'t care.', $now);
$answer->setLikert(2);
$answer->setUser($user);