Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

Rev 170 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 170 Rev 173
Line 1... Line 1...
1
<?php
1
<?php
2
class PROJET_VERSION extends macroElement {
2
class PROJET_VERSION extends macroElement {
3
    function getSQL()
3
    function getSQL()
4
    {
4
    {
5
        $contexte = array();
5
        $contexte = array();
-
 
6
        echo '<pre>'.print_r($this->contexteRef, true).'</pre>';
6
        if (array_key_exists('nvp', $this->contexteRef)) {
7
        if (array_key_exists('nvp', $this->contexteRef)) {
7
            $contexte['nvp'] = $this->contexteRef['nvp'];
8
            $contexte['nvp'] = $this->contexteRef['nvp'];
8
            if (!empty($contexte['nvp'])) {
9
            if (!empty($contexte['nvp'])) {
9
                return 
10
                return 
10
                'SELECT DISTINCT 
11
                'SELECT DISTINCT