| Line 14... |
Line 14... |
| 14 |
// | |
|
14 |
// | |
|
| 15 |
// | You should have received a copy of the GNU General Public |
|
15 |
// | You should have received a copy of the GNU General Public |
|
| 16 |
// | License along with this library; if not, write to the Free Software |
|
16 |
// | License along with this library; if not, write to the Free Software |
|
| 17 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 18 |
// +------------------------------------------------------------------------------------------------------+
|
18 |
// +------------------------------------------------------------------------------------------------------+
|
| 19 |
// CVS : $Id: participe.class.php,v 1.3 2006-07-04 09:27:40 alexandre_tb Exp $
|
19 |
// CVS : $Id: participe.class.php,v 1.4 2007-04-19 09:30:28 alexandre_tb Exp $
|
| 20 |
/**
|
20 |
/**
|
| 21 |
* Application projet
|
21 |
* Application projet
|
| 22 |
*
|
22 |
*
|
| 23 |
* La classe partiicpe assure la jointure entre projet et Auth
|
23 |
* La classe partiicpe assure la jointure entre projet et Auth
|
| 24 |
* Elle se base sur la table projet_statut_utilisateur
|
24 |
* Elle se base sur la table projet_statut_utilisateur
|
| Line 27... |
Line 27... |
| 27 |
//Auteur original :
|
27 |
//Auteur original :
|
| 28 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
28 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
| 29 |
//Autres auteurs :
|
29 |
//Autres auteurs :
|
| 30 |
*@author Aucun
|
30 |
*@author Aucun
|
| 31 |
*@copyright Tela-Botanica 2000-2004
|
31 |
*@copyright Tela-Botanica 2000-2004
|
| 32 |
*@version $Revision: 1.3 $
|
32 |
*@version $Revision: 1.4 $
|
| 33 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
| 34 |
*/
|
34 |
*/
|
| Line 35... |
Line 35... |
| 35 |
|
35 |
|
| Line 195... |
Line 195... |
| 195 |
{
|
195 |
{
|
| 196 |
// La table projet_statut_utilisateurs possède une entré avec psu_id_projet = 0
|
196 |
// La table projet_statut_utilisateurs possède une entré avec psu_id_projet = 0
|
| 197 |
// pour indiquer un administrateur
|
197 |
// pour indiquer un administrateur
|
| 198 |
$requete = "select psu_id_statut from projet_statut_utilisateurs where psu_id_utilisateur=$id_utilisateur".
|
198 |
$requete = "select psu_id_statut from projet_statut_utilisateurs where psu_id_utilisateur=$id_utilisateur".
|
| 199 |
" and psu_id_projet=0" ;
|
199 |
" and psu_id_projet=0" ;
|
| - |
|
200 |
|
| 200 |
if ($objetDB != "") {
|
201 |
if (is_object ($objetDB)) {
|
| 201 |
$resultat = $objetDB->query ($requete) ;
|
202 |
$resultat = $objetDB->query ($requete) ;
|
| 202 |
} else {
|
203 |
} else {
|
| 203 |
$resultat = $this->_db->query ($requete) ;
|
204 |
$resultat = $this->_db->query ($requete) ;
|
| 204 |
}
|
205 |
}
|
| 205 |
if ($resultat->numRows () != 0) {
|
206 |
if ($resultat->numRows () != 0) {
|