Subversion Repositories Applications.projet

Rev

Rev 397 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 397 Rev 431
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_discussion.class.php,v 1.4 2008-08-25 15:12:24 alexandre_tb Exp $
22
// CVS : $Id: liste_discussion.class.php,v 1.3 2007-04-19 15:34:35 neiluj Exp $
23
/**
23
/**
24
* Application projet
24
* Application projet
25
*
25
*
26
* La classe liste_discussion
26
* La classe liste_discussion
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.4 $
34
*@version       $Revision: 1.3 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
Line 103... Line 103...
103
    var $_portee;
103
    var $_portee;
Line 104... Line 104...
104
 
104
    
105
    /**
105
    /**
106
     * Le constructeur
106
     * Le constructeur
107
     *
107
     *
108
     * @param int id_liste L'identifiant de la liste souhaité
108
     * @param int id_liste L'identifiant de la liste souhait�
109
     * @param DB objetDB Un objet PEAR:DB
109
     * @param DB objetDB Un objet PEAR:DB
110
     * @return void
110
     * @return void
111
     * @access public
111
     * @access public
112
     */
112
     */
Line 163... Line 163...
163
    function getId( )
163
    function getId( )
164
    {
164
    {
165
        return $this->_id ;
165
        return $this->_id ;
166
    } // end of member function getNom
166
    } // end of member function getNom
Line -... Line 167...
-
 
167
 
167
 
168
 
168
	function getVisibilite( )
169
     function getVisibilite( )
169
    {
170
    {
170
        return $this->_portee ;
171
        return $this->_portee ;
Line 171... Line 172...
171
    } // end of member function getNom
172
    } // end of member function getNom
172
 
173
 
173
    /**
174
    /**
174
     * Enregistre une ligne dans la table projet_liste
175
     * Enregistre une ligne dans la table projet_liste
175
     * Le tableau de valeur doit contenir les éléments suivants 'nom_liste','','domaine_liste'
176
     * Le tableau de valeur doit contenir les �l�ments suivants 'nom_liste','','domaine_liste'
176
     *
177
     *
177
     * @param Array tableau_de_valeur Le tableau de valeur a insérer dans la base avec pour clé les noms des éléments
178
     * @param Array tableau_de_valeur Le tableau de valeur a ins�rer dans la base avec pour cl� les noms des �l�ments
178
     * @access  public
179
     * @access  public
Line 179... Line 180...
179
     * @return void
180
     * @return void
Line 215... Line 216...
215
 
216
 
216
        return true ;
217
        return true ;
Line 217... Line 218...
217
    } // end of member function suppressionSQL
218
    } // end of member function suppressionSQL
218
 
219
 
219
    /**
220
    /**
220
     * Vérifie si une liste existe déjà dans la table projet_liste.
221
     * V�rifie si une liste existe d�j� dans la table projet_liste.
221
     *
222
     *
222
     * @param string adresse_liste L'adresse de la liste à tester
223
     * @param string adresse_liste L'adresse de la liste � tester
223
     * @param DB objetDB Un objet PEAR::DB
224
     * @param DB objetDB Un objet PEAR::DB
224
     * @return bool
225
     * @return bool
225
     * @static
226
     * @static
Line 281... Line 282...
281
     */
282
     */
282
    function isPublic( )
283
    function isPublic( )
283
    {
284
    {
284
        return $this->_portee ;
285
        return $this->_portee ;
285
    } // end of member function getAdresseResume
286
    } // end of member function getAdresseResume
286
 
-
 
287
 
-
 
288
 
-
 
289
 
-
 
290
 
-
 
291
 
-
 
292
 
-
 
293
} // end of liste_discussion
287
} // end of liste_discussion
294
?>
288
?>