Subversion Repositories Applications.papyrus

Rev

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

Rev 503 Rev 536
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: projet_type.class.php,v 1.1 2005-10-03 12:22:17 alexandre_tb Exp $
22
// CVS : $Id: projet_type.class.php,v 1.2 2005-10-14 08:55:50 alexandre_tb Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* La classe projet_type
26
* La classe projet_type
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.1 $
34
*@version       $Revision: 1.2 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
Line 90... Line 90...
90
     * @return void
90
     * @return void
91
     * @access public
91
     * @access public
92
     */
92
     */
93
    function getLabelType( $id_type)
93
    function getLabelType( $id_type)
94
    {
94
    {
-
 
95
        $requete = 'select pt_label_type from projet_type where pt_id_type='.$id_type ;
-
 
96
        $resultat =  $this->_db->getOne($requete) ;
-
 
97
        if (DB::isError($resultat)) {
-
 
98
        	echo $resultat->getMessage() ;
95
        
99
        }
-
 
100
        return $resultat ;
96
    } // end of member function projet_type
101
    } // end of member function projet_type