Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser 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: pap_site.fonct.php,v 1.6 2006-12-08 18:48:43 jp_milcent Exp $
|
22 |
// CVS : $Id: pap_site.fonct.php,v 1.7 2006-12-08 20:15:21 jp_milcent Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Bibliothèque de fonctions concernant les sites.
|
24 |
* Bibliothèque de fonctions concernant les sites.
|
25 |
*
|
25 |
*
|
26 |
* Bibliothèque de fonctions permettant de manipuler les tables :
|
26 |
* Bibliothèque de fonctions permettant de manipuler les tables :
|
27 |
* - gen_site,
|
27 |
* - gen_site,
|
Line 36... |
Line 36... |
36 |
//Auteur original :
|
36 |
//Auteur original :
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
//Autres auteurs :
|
38 |
//Autres auteurs :
|
39 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
39 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
40 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@copyright Tela-Botanica 2000-2004
|
41 |
*@version $Revision: 1.6 $ $Date: 2006-12-08 18:48:43 $
|
41 |
*@version $Revision: 1.7 $ $Date: 2006-12-08 20:15:21 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 160... |
Line 160... |
160 |
* @return mixed un objet résultat de Pear DB contenant une ligne de la table gen_site, ou false en cas d'erreur.
|
160 |
* @return mixed un objet résultat de Pear DB contenant une ligne de la table gen_site, ou false en cas d'erreur.
|
161 |
*/
|
161 |
*/
|
162 |
function GEN_lireInfoSiteI18nCodeAlpha(&$objet_pear_db, $code_alpha, $i18n, $mode = DB_FETCHMODE_OBJECT)
|
162 |
function GEN_lireInfoSiteI18nCodeAlpha(&$objet_pear_db, $code_alpha, $i18n, $mode = DB_FETCHMODE_OBJECT)
|
163 |
{
|
163 |
{
|
164 |
$requete = 'SELECT * '.
|
164 |
$requete = 'SELECT * '.
|
165 |
'FROM gen_site, gen_site_relation '.
|
165 |
'FROM gen_site '.
|
166 |
'WHERE gs_code_alpha = "'.$code_alpha.'" '.
|
166 |
'WHERE gs_code_alpha = "'.$code_alpha.'" '.
|
167 |
'AND gs_ce_i18n = "'.$i18n.'" ';
|
167 |
'AND gs_ce_i18n = "'.$i18n.'" ';
|
Line 168... |
Line 168... |
168 |
|
168 |
|
169 |
$resultat = $objet_pear_db->query($requete);
|
169 |
$resultat = $objet_pear_db->query($requete);
|
Line 273... |
Line 273... |
273 |
}
|
273 |
}
|
Line 274... |
Line 274... |
274 |
|
274 |
|
275 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
275 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
276 |
*
|
276 |
*
|
- |
|
277 |
* $Log: not supported by cvs2svn $
|
- |
|
278 |
* Revision 1.6 2006/12/08 18:48:43 jp_milcent
|
- |
|
279 |
* Amélioration du mode de reception des données pour GEN_lireInfoSiteI18nCodeAlpha().
|
277 |
* $Log: not supported by cvs2svn $
|
280 |
*
|
278 |
* Revision 1.5 2006/10/11 18:04:11 jp_milcent
|
281 |
* Revision 1.5 2006/10/11 18:04:11 jp_milcent
|
279 |
* Gestion avancée de la réecriture d'URL.
|
282 |
* Gestion avancée de la réecriture d'URL.
|
280 |
*
|
283 |
*
|
281 |
* Revision 1.4 2005/04/19 17:21:19 jpm
|
284 |
* Revision 1.4 2005/04/19 17:21:19 jpm
|