Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 176 → Rev 177

/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/recherchetaxonsup.php
File deleted
\ No newline at end of file
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/infonomlatin.php
New file
0,0 → 1,34
<?php
class infonomlatin extends groupeMacroElement {
function __construct($une_connexion)
{
parent::__construct($une_connexion);
}
function construire()
{
$this->dblock = new blockdedonnees('FICHE_NOM_LATIN');
 
// Numéro nomenclatural
if (array_key_exists('nn', $_REQUEST)) {
$this->dblock->ajouterDonnee('nn', $_REQUEST['nn']);
}
$this->construireContexte();
$this->ajouterMacroElement();
}
function construireContexte()
{
}
function ajouterMacroElement()
{
$un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
$un_macro_element->construire();
//echo '<pre>'.print_r($this->dblock, true).'</pre>';
}
}
?>
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/infotaxonsup.php
1,5 → 1,5
<?php
class recherchetaxonsup extends groupeMacroElement {
class infotaxonsup extends groupeMacroElement {
function __construct($une_connexion)
{
parent::__construct($une_connexion);
/trunk/serveur/eflore_mv/eflore_services.map
5,7 → 5,8
recherche_verna recherchenomverna recherche_nom_vernaculaire_xhtml null 0 null
recherche_taxon recherchetaxon recherche_taxon_xhtml null 0 null
recherche_classif rechercheclassification recherche_classif_xhtml null 0 null
recherche_taxon_sup recherchetaxonsup recherche_taxon_sup_xml null 0 null
fiche_synthese fichesynthese fiche_synthese_xhtml null 0 null
form_taxon formulairetaxonomique formulaire_taxonomique_xhtml null 0 null
form_nom formulairenomenclatural formulaire_nomenclatural_xhtml null 0 null
form_nom formulairenomenclatural formulaire_nomenclatural_xhtml null 0 null
info_taxon_sup infotaxonsup info_taxon_sup_xml null 0 null
info_nom_latin infonomlatin info_nom_latin_xml null 0 null
/trunk/serveur/eflore_mv/vues/recherche_taxon_sup_xml.php
File deleted
\ No newline at end of file
/trunk/serveur/eflore_mv/vues/info_nom_latin_xml.php
New file
0,0 → 1,100
<?php
/*vim: set expandtab tabstop=4 shiftwidth=4: */
// +------------------------------------------------------------------------------------------------------+
// | PHP version 5.0.3 |
// +------------------------------------------------------------------------------------------------------+
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
// +------------------------------------------------------------------------------------------------------+
// | This file is part of eRibo. |
// | |
// | Foobar is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation; either version 2 of the License, or |
// | (at your option) any later version. |
// | |
// | Foobar is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: info_nom_latin_xml.php,v 1.1 2005-07-01 19:06:59 jp_milcent Exp $
/**
* Vue affichant la liste des taxons d'un projet.
*
* Permet de retourner le xhtml correspondant à une liste hiérarchisées des taxons d'un projet.
*
*@package eFlore
*@subpackage Vues
//Auteur original :
*@author Frédéric LEGENS <flegens@free.fr>
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.1 $ $Date: 2005-07-01 19:06:59 $
// +------------------------------------------------------------------------------------------------------+
*/
 
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
require_once EFSE_CHEMIN_FONCTION.'eribo_encodage.fonct.php';
 
// +------------------------------------------------------------------------------------------------------+
// | CLASSE de la VUE |
// +------------------------------------------------------------------------------------------------------+
class info_nom_latin_xml implements iVue {
protected $leBlock;
function __construct($unBlock)
{
$this->leBlock = $unBlock;
}
function serialiser()
{
$retour = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_NOM_LATIN>NOM_LATIN','afficherInfoNomLatin');
// Envoi au navigateur après encodage en entité des caractères posant problème
header('Content-Type: text/xml');
echo utf8_encode($retour);
}
}
 
// +------------------------------------------------------------------------------------------------------+
// | LISTE des FONCTIONS |
// +------------------------------------------------------------------------------------------------------+
function afficherInfoNomLatin($donnees)
{
$retour = '';
$retour .= '<nom_latin>'."\n";
$retour .= ' <eni_in>'.$donnees['eni_intitule_nom'].'</eni_in>'."\n";
$retour .= '</nom_latin>'."\n";
return $retour;
}
 
 
// +------------------------------------------------------------------------------------------------------+
// | PIED du PROGRAMME |
// +------------------------------------------------------------------------------------------------------+
 
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/07/01 18:31:30 jp_milcent
* changement de nom
*
* Revision 1.1 2005/06/30 15:25:07 jpm
* Début des modifications pour ajout de l'arborescence de la classif.
*
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
?>
/trunk/serveur/eflore_mv/vues/info_taxon_sup_xml.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: info_taxon_sup_xml.php,v 1.1 2005-07-01 18:31:30 jp_milcent Exp $
// CVS : $Id: info_taxon_sup_xml.php,v 1.2 2005-07-01 19:06:59 jp_milcent Exp $
/**
* Vue affichant la liste des taxons d'un projet.
*
34,7 → 34,7
//Autres auteurs :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.1 $ $Date: 2005-07-01 18:31:30 $
*@version $Revision: 1.2 $ $Date: 2005-07-01 19:06:59 $
// +------------------------------------------------------------------------------------------------------+
*/
 
46,7 → 46,7
// +------------------------------------------------------------------------------------------------------+
// | CLASSE de la VUE |
// +------------------------------------------------------------------------------------------------------+
class recherche_taxon_sup_xml implements iVue {
class info_taxon_sup_xml implements iVue {
protected $leBlock;
59,9 → 59,6
{
$retour = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'."\n";
$retour .= '<!DOCTYPE taxon ['."\n";
$retour .= ' <!ELEMENT taxon (#PCDATA)>'."\n";
$retour .= ']>'."\n";
$retour .= $this->leBlock->afficherPattern('FICHE_TAXON_SUPERIEUR>TAXON_SUPERIEUR','afficherInfoTaxon');
// Envoi au navigateur après encodage en entité des caractères posant problème
94,6 → 91,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/07/01 18:31:30 jp_milcent
* changement de nom
*
* Revision 1.1 2005/06/30 15:25:07 jpm
* Début des modifications pour ajout de l'arborescence de la classif.
*