Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 174 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 174 Rev 177
1
<?php
1
<?php
2
class recherchetaxonsup extends groupeMacroElement {
2
class infotaxonsup extends groupeMacroElement {
3
    function __construct($une_connexion)
3
    function __construct($une_connexion)
4
    {
4
    {
5
        parent::__construct($une_connexion);
5
        parent::__construct($une_connexion);
6
    }
6
    }
7
    
7
    
8
    function construire()
8
    function construire()
9
    {
9
    {
10
        $this->dblock = new blockdedonnees('FICHE_TAXON_SUPERIEUR');
10
        $this->dblock = new blockdedonnees('FICHE_TAXON_SUPERIEUR');
11
        
11
        
12
        // Numéro de version du projet
12
        // Numéro de version du projet
13
        if (array_key_exists('nvp', $_REQUEST)) {
13
        if (array_key_exists('nvp', $_REQUEST)) {
14
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
14
            $this->dblock->ajouterDonnee('nvp', $_REQUEST['nvp']);
15
        }
15
        }
16
        
16
        
17
        // Ordre
17
        // Ordre
18
        if (array_key_exists('nt', $_REQUEST)) {
18
        if (array_key_exists('nt', $_REQUEST)) {
19
            $this->dblock->ajouterDonnee('nt', $_REQUEST['nt']);
19
            $this->dblock->ajouterDonnee('nt', $_REQUEST['nt']);
20
        }
20
        }
21
        
21
        
22
        $this->construireContexte();
22
        $this->construireContexte();
23
        $this->ajouterMacroElement();
23
        $this->ajouterMacroElement();
24
    }
24
    }
25
    
25
    
26
    function construireContexte()
26
    function construireContexte()
27
    {
27
    {
28
        
28
        
29
    }
29
    }
30
    
30
    
31
    function ajouterMacroElement()
31
    function ajouterMacroElement()
32
    {
32
    {
33
        $un_macro_element = $this->macroElementFactory('TAXON_SUPERIEUR', $this->dblock);
33
        $un_macro_element = $this->macroElementFactory('TAXON_SUPERIEUR', $this->dblock);
34
        $un_macro_element->construire();
34
        $un_macro_element->construire();
35
        //echo '<pre>'.print_r($this->dblock, true).'</pre>';
35
        //echo '<pre>'.print_r($this->dblock, true).'</pre>';
36
    }
36
    }
37
    
37
    
38
}
38
}
39
?>
39
?>