Subversion Repositories Applications.projet

Rev

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

Rev 11 Rev 345
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU General Public                                            |
18
// | You should have received a copy of the GNU General Public                                            |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: liste_externe.class.php,v 1.2 2005-09-27 16:42:00 alexandre_tb Exp $
22
// CVS : $Id: liste_externe.class.php,v 1.3 2008-09-16 14:12:04 alexandre_tb Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* La classe liste_externe
26
* La classe liste_externe
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
//Autres auteurs :
31
//Autres auteurs :
32
*@author        Aucun
32
*@author        Aucun
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.2 $
34
*@version       $Revision: 1.3 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 150... Line 150...
150
    function getInfoListe( $id_liste )
150
    function getInfoListe( $id_liste )
151
    {
151
    {
152
        $requete = 'select * from agora where AGO_A_ID='.$id_liste ;
152
        $requete = 'select * from agora where AGO_A_ID='.$id_liste ;
153
        $resultat = $this->_db->query ($requete) ;
153
        $resultat = $this->_db->query ($requete) ;
154
        if (DB::isError ($resultat)) {
154
        if (DB::isError ($resultat)) {
155
            die ('Echec de la requete : '.$requete.'<br />'.$resultat->getMessage()) ;
155
            return ('Echec de la requete : '.$requete.'<br />'.$resultat->getMessage()) ;
156
        }
156
        }
157
        $ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
157
        $ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
158
        return $ligne ;
158
        return $ligne ;
159
    } // end of member function getInfoListe
159
    } // end of member function getInfoListe