Subversion Repositories Applications.gtt

Rev

Rev 140 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 140 Rev 155
Line 335... Line 335...
335
	public function setTdtDimanche( $tdt )
335
	public function setTdtDimanche( $tdt )
336
	{
336
	{
337
		$this->tdt_dimanche = $tdt;
337
		$this->tdt_dimanche = $tdt;
338
	}
338
	}
Line -... Line 339...
-
 
339
 
-
 
340
	// Tdt Par Numéro du jour
-
 
341
	public function getTdtParNumJour($num)
-
 
342
	{
-
 
343
		$tdt = 0;
-
 
344
		if ($num == 1) {
-
 
345
			$tdt = $this->getTdtLundi();
-
 
346
		} else if ($num == 2) {
-
 
347
			$tdt = $this->getTdtMardi();
-
 
348
		} else if ($num == 3) {
-
 
349
			$tdt = $this->getTdtMercredi();
-
 
350
		} else if ($num == 4) {
-
 
351
			$tdt = $this->getTdtJeudi();
-
 
352
		} else if ($num == 5) {
-
 
353
			$tdt = $this->getTdtVendredi();
-
 
354
		} else if ($num == 6) {
-
 
355
			$tdt = $this->getTdtSamedi();
-
 
356
		} else if ($num == 7) {
-
 
357
			$tdt = $this->getTdtDimanche();
-
 
358
		}
-
 
359
 
-
 
360
		return $tdt;
-
 
361
	}
339
 
362
 
340
	// Mark Admin
363
	// Mark Admin
341
	public function getMarkAdmin()
364
	public function getMarkAdmin()
342
	{
365
	{
343
		return $this->mark_admin;
366
		return $this->mark_admin;