summaryrefslogtreecommitdiffstats
path: root/codebase/Dhtmlx/Connector/DistinctOptionsConnector.php
blob: a2e794c62977df12063f45714cdf91da6839931b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
namespace Dhtmlx\Connector;

class DistinctOptionsConnector extends OptionsConnector{
    /*! render self
        process commands, return data as XML, not output data to stdout, ignore parameters in incoming request
        @return
            data as XML string
    */
    public function render(){
        if (!$this->init_flag){
            $this->init_flag=true;
            return "";
        }
        $res = $this->sql->get_variants($this->config->text[0]["db_name"],$this->request);
        return $this->render_set($res);
    }
}