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

class JSONDistinctOptionsConnector extends JSONOptionsConnector {
    /*! 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);
    }
}