286,7 → 286,7 |
{ |
$this->tdt_mardi = $tdt; |
} |
|
|
// Tdt Mercredi |
public function getTdtMercredi() |
{ |
296,7 → 296,7 |
{ |
$this->tdt_mercredi = $tdt; |
} |
|
|
// Tdt Jeudi |
public function getTdtJeudi() |
{ |
316,7 → 316,7 |
{ |
$this->tdt_vendredi = $tdt; |
} |
|
|
// Tdt Samedi |
public function getTdtSamedi() |
{ |
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() |
{ |
411,7 → 434,7 |
'FROM gestion_utilisateur '. |
'WHERE gu_mark_admin = 1 '; |
break; |
|
|
default : |
$message = 'Commande '.$cmd.'inconnue!'; |
$e = GestionnaireErreur::formaterMessageErreur(__FILE__, __LINE__, $message); |