Subversion Repositories Applications.gtt

Rev

Rev 64 | Rev 87 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 64 Rev 82
Line 51... Line 51...
51
	const GAM_ID_MAX = 'ABSENCEMOTIF_ID_MAX';
51
	const GAM_ID_MAX = 'ABSENCEMOTIF_ID_MAX';
52
	const GAM_LIBELLE = 'ABSENCEMOTIF_LIBELLE';
52
	const GAM_LIBELLE = 'ABSENCEMOTIF_LIBELLE';
Line 53... Line 53...
53
 
53
 
54
	/*** Attributs : */
54
	/*** Attributs : */
55
	private $id_absence_motif;
55
	private $id_absence_motif;
-
 
56
	private $libelle;
-
 
57
	private $cp_diminuer;
-
 
58
	private $hs_augmenter;
56
	private $libelle;
59
	private $hs_diminuer;
57
 
60
	
Line 58... Line 61...
58
	/*** Aggregations : */
61
	/*** Aggregations : */
59
 
62
 
60
	/*** Constructeur : */
63
	/*** Constructeur : */
61
	public function __construct($cmd = null, $parametres = null)
64
	public function __construct($cmd = null, $parametres = null)
62
	{
65
	{
63
		$this->dao_table_nom = 'gestion_absence_motif';
66
		$this->dao_table_nom = 'gestion_absence_motif';
64
		$this->dao_correspondance = array(
67
		$this->dao_correspondance = array(
-
 
68
			'gam_id_absence_motif'	=> 'id_absence_motif',
-
 
69
			'gam_libelle'	=> 'libelle',
-
 
70
			'gam_cp_diminuer'	=> 'cp_diminuer',
Line 65... Line 71...
65
			'gam_id_absence_motif'	=> 'id_absence_motif',
71
			'gam_hs_augmenter'	=> 'hs_augmenter',
66
			'gam_libelle'	=> 'libelle');
72
			'gam_hs_diminuer'	=> 'hs_diminuer');
67
 
73
 
68
		// Si l'on veut remplir l'objet à la création on lance la requete correspondante
74
		// Si l'on veut remplir l'objet à la création on lance la requete correspondante
Line 89... Line 95...
89
	}
95
	}
90
	public function setLibelle( $l )
96
	public function setLibelle( $l )
91
	{
97
	{
92
		$this->libelle = $l;
98
		$this->libelle = $l;
93
	}
99
	}
94
 
100
 
-
 
101
	// CP Diminuer
-
 
102
	public function getCpDiminuer()
-
 
103
	{
-
 
104
		return $this->cp_diminuer;
-
 
105
	}
-
 
106
	public function setCpDiminuer( $cd )
-
 
107
	{
-
 
108
		$this->cp_diminuer = $cd;
-
 
109
	}
-
 
110
 
-
 
111
	// HS Augmenter
-
 
112
	public function getHsAugmenter()
-
 
113
	{
-
 
114
		return $this->hs_augmenter;
-
 
115
	}
-
 
116
	public function setHsAugmenter( $ha )
-
 
117
	{
-
 
118
		$this->hs_augmenter = $ha;
-
 
119
	}
-
 
120
 
-
 
121
	// HS Diminuer
-
 
122
	public function getHsDiminuer()
-
 
123
	{
-
 
124
		return $this->hs_diminuer;
-
 
125
	}
-
 
126
	public function setHsDiminuer( $hd )
-
 
127
	{
-
 
128
		$this->hs_diminuer = $hd;
-
 
129
	}
-
 
130
 
95
	/*** Méthodes : */
131
	/*** Méthodes : */
Line 96... Line 132...
96
 
132
 
97
	/**
133
	/**
98
	* Consulter la table gestion_absence_motif.
134
	* Consulter la table gestion_absence_motif.