Line 22... |
Line 22... |
22 |
|
22 |
|
Line 23... |
Line 23... |
23 |
}
|
23 |
}
|
24 |
|
24 |
|
25 |
function ajouterMacroElement()
|
- |
|
26 |
{
|
25 |
function ajouterMacroElement()
|
27 |
/*balise:NOM_LATIN*/
|
26 |
{
|
28 |
$un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
|
- |
|
29 |
$un_macro_element->construire();
|
27 |
$un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
|
30 |
/*balise:NOM_SELECTION*/
|
28 |
$un_macro_element->construire();
|
- |
|
29 |
$un_macro_element = $this->macroElementFactory('NOM_SELECTION', $this->dblock);
|
31 |
$un_macro_element = $this->macroElementFactory('NOM_SELECTION', $this->dblock);
|
30 |
$un_macro_element->construire();
|
- |
|
31 |
if (!isset($_REQUEST['nt'])) {
|
- |
|
32 |
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nt', 'et_id_taxon');
|
32 |
$un_macro_element->construire();
|
33 |
}
|
- |
|
34 |
if (!isset($_REQUEST['nvp'])) {
|
- |
|
35 |
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nvp', 'eprv_id_version');
|
33 |
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nt', 'et_id_taxon');
|
36 |
}
|
34 |
$this->dblock->attribuerContexte('FICHE_SYNTHESE>NOM_SELECTION', 'nvp', 'eprv_id_version');
|
37 |
$un_macro_element = $this->macroElementFactory('PROJET_VERSION', $this->dblock);
|
35 |
/*balise:TAXON_NOMS*/
|
38 |
$un_macro_element->construire();
|
- |
|
39 |
$un_macro_element = $this->macroElementFactory('TAXON_NOMS', $this->dblock);
|
- |
|
40 |
$un_macro_element->construire();
|
36 |
$un_macro_element = $this->macroElementFactory('TAXON_NOMS', $this->dblock);
|
41 |
$un_macro_element = $this->macroElementFactory('FICHE_SYNTHESE>TAXON_NOMS>NOM_LATIN', $this->dblock);
|
37 |
$un_macro_element->construire();
|
42 |
$un_macro_element->construire();
|
- |
|
43 |
$un_macro_element = $this->macroElementFactory('VERNACULAIRE_NOMS', $this->dblock);
|
38 |
$un_macro_element = $this->macroElementFactory('NOM_LATIN', $this->dblock);
|
44 |
$un_macro_element->construire();
|
39 |
$un_macro_element->construire();
|
45 |
//echo '<pre>'.print_r($this->dblock, true).'</pre>';
|
Line 40... |
Line 46... |
40 |
//$this->dblock->afficher();
|
46 |
//$this->dblock->afficher();
|
41 |
}
|
47 |
}
|
42 |
|
48 |
|