Ejemplo n.º 1
0
echo "Section(s) : </br>";
$section = new Section(1, "2A-S3", 1, 1);
echo $section->getNo_section() . "</br>";
echo $section->getNom() . "</br>";
echo $section->getDate_debut() . "</br>";
echo $section->getDate_fin() . "</br>";
echo $section . "</br>";
echo "Sous-groupe(s) : </br>";
$Sous_groupe = new Sous_groupe(1, 1, 1);
echo $Sous_groupe->getNo_section() . "</br>";
echo $Sous_groupe->getNo_groupe() . "</br>";
echo $Sous_groupe->getNo_sous_groupe() . "</br>";
echo $Sous_groupe . "</br>";
echo "Etudiant(s) : </br>";
$etudiant = new Etudiant(1, "Bresson", "Guillaume", 1, 0, 5, 1, 1);
echo $etudiant->getNo_etudiant() . "</br>";
echo $etudiant->getNom() . "</br>";
echo $etudiant->getPrenom() . "</br>";
echo $etudiant->getBourse() . "</br>";
echo $etudiant->getAbandon() . "</br>";
echo $etudiant->getNo_section() . "</br>";
echo $etudiant->getNo_groupe() . "</br>";
echo $etudiant->getNo_sous_groupe() . "</br>";
echo $etudiant . "</br>";
echo "Absent(s) : </br>";
$absent = new Absent(1, 1, 3, "Cookies");
echo $absent->getNo_etudiant() . "</br>";
echo $absent->getNo_seance() . "</br>";
echo $absent->getAbsence() . "</br>";
echo $absent->getJustificatif() . "</br>";
echo $absent . "</br>";