Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 83 | Rev 181 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83 Rev 97
Line 4... Line 4...
4
    {
4
    {
5
        $contexte = array();
5
        $contexte = array();
6
        if (array_key_exists('nvp', $this->contexteRef) and array_key_exists('nt', $this->contexteRef)) {
6
        if (array_key_exists('nvp', $this->contexteRef) and array_key_exists('nt', $this->contexteRef)) {
7
            $contexte['nvp'] = $this->contexteRef['nvp'];
7
            $contexte['nvp'] = $this->contexteRef['nvp'];
8
            $contexte['nt'] = $this->contexteRef['nt'];
8
            $contexte['nt'] = $this->contexteRef['nt'];
9
            if (!empty($contexte['nvp'])) {
9
            if ($contexte['nvp'] != '' AND $contexte['nt'] != '' ) {
10
                return 
10
                return 
11
                'SELECT DISTINCT 
11
                'SELECT DISTINCT 
12
                vernaculaire.ev_intitule_nom_vernaculaire,
12
                vernaculaire.ev_intitule_nom_vernaculaire,
13
                vernaculaire.ev_notes_nom_vernaculaire,
13
                vernaculaire.ev_notes_nom_vernaculaire,
14
                eflore_genre_nombre.elv_id_valeur_lg AS egn_id_genre_nombre,
14
                eflore_genre_nombre.elv_id_valeur_lg AS egn_id_genre_nombre,