summaryrefslogtreecommitdiffstats
path: root/codebase/DistinctOptionsConnector.php
blob: 273ec6b5b7ff4ba6c28968d11bda3a3cb8bcff66 (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);
    }
}