Subversion Repositories Applications.gtt

Rev

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

Rev 75 Rev 82
Line 53... Line 53...
53
	const GP_ID_LIST = 'PROJET_ID_LIST';
53
	const GP_ID_LIST = 'PROJET_ID_LIST';
54
	const GP_CE_CATEGORIE = 'PROJET_CE_CATEGORIE';
54
	const GP_CE_CATEGORIE = 'PROJET_CE_CATEGORIE';
Line 55... Line 55...
55
 
55
 
56
	/*** Attributs : */
56
	/*** Attributs : */
-
 
57
	private $id_projet;
57
	private $id_projet;
58
	private $ce_projet_parent;
58
	private $ce_categorie;
59
	private $ce_categorie;
59
	private $nom_projet;
60
	private $nom_projet;
60
	private $description;
61
	private $description;
-
 
62
	private $date_debut;
61
	private $date_debut;
63
	private $date_fin;
62
	private $duree_prevue;
64
	private $duree_prevue;
Line 63... Line 65...
63
	private $avancement;
65
	private $avancement;
Line 68... Line 70...
68
	public function __construct($cmd = null, $parametres = null)
70
	public function __construct($cmd = null, $parametres = null)
69
	{
71
	{
70
		$this->dao_table_nom = 'gestion_projet';
72
		$this->dao_table_nom = 'gestion_projet';
71
		$this->dao_correspondance = array(
73
		$this->dao_correspondance = array(
72
			'gp_id_projet'	=> 'id_projet',
74
			'gp_id_projet'	=> 'id_projet',
-
 
75
			'gp_ce_projet_parent'	=> 'ce_projet_parent',
73
			'gp_ce_categorie'	=> 'ce_categorie',
76
			'gp_ce_categorie'	=> 'ce_categorie',
74
			'gp_nom_projet'	=> 'nom_projet',
77
			'gp_nom'	=> 'nom',
75
			'gp_description'	=> 'description',
78
			'gp_description'	=> 'description',
76
			'gp_date_debut'	=> 'date_debut',
79
			'gp_date_debut'	=> 'date_debut',
-
 
80
			'gp_date_fin'	=> 'date_fin',
77
			'gp_duree_prevue'	=> 'duree_prevue',
81
			'gp_duree_prevue'	=> 'duree_prevue',
78
			'gp_avancement'	=> 'avancement');
82
			'gp_avancement'	=> 'avancement');
Line 79... Line 83...
79
 
83
 
80
		// Si l'on veut remplir l'objet à la création on lance la requete correspondante
84
		// Si l'on veut remplir l'objet à la création on lance la requete correspondante
Line 91... Line 95...
91
	}
95
	}
92
	public function setIdProjet( $ip )
96
	public function setIdProjet( $ip )
93
	{
97
	{
94
		$this->id_projet = $ip;
98
		$this->id_projet = $ip;
95
	}
99
	}
-
 
100
 
-
 
101
	// Ce Projet Parent
-
 
102
	public function getCeProjetParent()
-
 
103
	{
-
 
104
		return $this->ce_projet_parent;
-
 
105
	}
-
 
106
	public function setCeProjetParent( $cpp )
-
 
107
	{
-
 
108
		$this->ce_projet_parent = $cpp;
-
 
109
	}
-
 
110
 
Line 96... Line 111...
96
 
111
 
97
	// Ce Categorie
112
	// Ce Categorie
98
	public function getCeCategorie()
113
	public function getCeCategorie()
99
	{
114
	{
Line 102... Line 117...
102
	public function setCeCategorie( $cc )
117
	public function setCeCategorie( $cc )
103
	{
118
	{
104
		$this->ce_categorie = $cc;
119
		$this->ce_categorie = $cc;
105
	}
120
	}
Line 106... Line 121...
106
 
121
 
107
	// Nom Projet
122
	// Nom
108
	public function getNomProjet()
123
	public function getNom()
109
	{
124
	{
110
		return $this->nom_projet;
125
		return $this->nom;
111
	}
126
	}
112
	public function setNomProjet( $np )
127
	public function setNom( $n )
113
	{
128
	{
114
		$this->nom_projet = $np;
129
		$this->nom = $n;
Line 115... Line 130...
115
	}
130
	}
116
 
131
 
117
	// Description
132
	// Description