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: statut.class.php,v 1.2 2005-09-27 16:42:00 alexandre_tb Exp $
|
22 |
// CVS : $Id: statut.class.php,v 1.2 2005/09/27 16:42:00 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Application projet
|
24 |
* Application projet
|
25 |
*
|
25 |
*
|
26 |
* La classe statut
|
26 |
* La classe statut
|
27 |
*
|
27 |
*
|
Line 81... |
Line 81... |
81 |
* @return void
|
81 |
* @return void
|
82 |
* @access public
|
82 |
* @access public
|
83 |
*/
|
83 |
*/
|
84 |
function statut( $id_statut, &$objetDB )
|
84 |
function statut( $id_statut, &$objetDB )
|
85 |
{
|
85 |
{
|
86 |
$requete = "select * from projet_statut where ps_id_statut=".$this->_db->escapeSimple($id_statut)." " ;
|
86 |
$requete = "select * from projet_statut where ps_id_statut=".$objetDB->escapeSimple($id_statut)." " ;
|
87 |
$resultat = $objetDB->query ($requete) ;
|
87 |
$resultat = $objetDB->query ($requete) ;
|
88 |
if (PEAR::isError ($resultat)) {
|
88 |
if (PEAR::isError ($resultat)) {
|
89 |
die ($resultat->getMessage()."<br />".$requete."<br />") ;
|
89 |
die ($resultat->getMessage()."<br />".$requete."<br />") ;
|
90 |
}
|
90 |
}
|
91 |
$ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
|
91 |
$ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT) ;
|