Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 147 → Rev 170

/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/formulairenomenclatural.php
New file
0,0 → 1,37
<?php
class formulairenomenclatural extends groupeMacroElement {
function __construct($une_connexion)
{
parent::__construct($une_connexion);
}
function construire()
{
$this->dblock = new blockdedonnees('FORMULAIRE_NOMENCLATURAL');
// Numéro de version du projet
if (array_key_exists('nvp', $_REQUEST)) {
$this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
}
$this->construireContexte();
$this->ajouterMacroElement();
}
function construireContexte()
{
}
function ajouterMacroElement()
{
if (!isset($_REQUEST['nvp'])) {
// La valeur par défaut 3 qui correspond à la BDNFF.
$this->dblock->attribuerContexteValeur('FORMULAIRE_NOMENCLATURAL', 'nvp', 3);
}
$un_macro_element = $this->macroElementFactory('PROJET_VERSION_TOUS', $this->dblock);
$un_macro_element->construire();
}
}
?>
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/recherchenomlatin.php
9,14 → 9,21
{
$this->dblock = new blockdedonnees('FICHE_LISTE_NOMS');
// Radical du nom recherché
if (array_key_exists('radical', $_REQUEST)) {
$this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
}
// Rang des noms
if (array_key_exists('rang',$_REQUEST)) {
$this->dblock->ajouterDonnee('rang', $_REQUEST['rang']);
}
// Numéro de version du projet
if (array_key_exists('nvp', $_REQUEST)) {
$this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
}
$this->construireContexte();
$this->ajouterMacroElement();
}
28,6 → 35,8
function ajouterMacroElement()
{
$un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
$un_macro_element->construire();
$un_macro_element = $this->macroElementFactory('NOM_RECHERCHE', $this->dblock);
$un_macro_element->construire();
}
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/recherchenomverna.php
9,10 → 9,16
{
$this->dblock = new blockdedonnees('FICHE_LISTE_NOMS_VERNA');
// Radical à rechercher
if (array_key_exists('radical', $_REQUEST)) {
$this->dblock->ajouterDonnee('radical', $_REQUEST['radical']);
}
// Numéro de version du projet
if (array_key_exists('nvp', $_REQUEST)) {
$this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
}
$this->construireContexte();
$this->ajouterMacroElement();
}