Subversion Repositories Applications.gtt

Compare Revisions

Regard whitespace Rev 154 → Rev 155

/trunk/bibliotheque/metier/Utilisateur.class.php
337,6 → 337,29
$this->tdt_dimanche = $tdt;
}
 
// Tdt Par Numéro du jour
public function getTdtParNumJour($num)
{
$tdt = 0;
if ($num == 1) {
$tdt = $this->getTdtLundi();
} else if ($num == 2) {
$tdt = $this->getTdtMardi();
} else if ($num == 3) {
$tdt = $this->getTdtMercredi();
} else if ($num == 4) {
$tdt = $this->getTdtJeudi();
} else if ($num == 5) {
$tdt = $this->getTdtVendredi();
} else if ($num == 6) {
$tdt = $this->getTdtSamedi();
} else if ($num == 7) {
$tdt = $this->getTdtDimanche();
}
 
return $tdt;
}
 
// Mark Admin
public function getMarkAdmin()
{