예제 #1
0
include 'Etudiant.class.php';
include 'Absent.class.php';
echo "Prof(s) : </br>";
$prof = new Prof(1, "Laroche", "Pierre", "*****@*****.**", 0);
echo $prof->getNo_prof() . "</br>";
echo $prof->getNom() . "</br>";
echo $prof->getPrenom() . "</br>";
echo $prof->getEmail() . "</br>";
echo $prof->getEnvoiCodes() . "</br>";
echo $prof . "</br>";
echo "Cour(s) : </br>";
$cour = new Cours(1, 1, 1, 1);
echo $cour->getNo_cours() . "</br>";
echo $cour->getNo_prof() . "</br>";
echo $cour->getNo_type() . "</br>";
echo $cour->getNo_matiere() . "</br>";
echo $cour . "</br>";
echo "Type(s) : </br>";
$type = new Type(1, "CM");
echo $type->getNo_type() . "</br>";
echo $type->getNom() . "</br>";
echo $type . "</br>";
echo "Matiere(s) : </br>";
$matiere = new Matiere(1, "Base de données", "BdD", 1, 1);
echo $matiere->getNo_matiere() . "</br>";
echo $matiere->getNom() . "</br>";
echo $matiere->getInitiales() . "</br>";
echo $matiere->getNo_module() . "</br>";
echo $matiere->getNo_section() . "</br>";
echo $matiere . "</br>";
echo "Seance(s) : </br>";