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

class JSONGanttLinksConnector extends JSONOptionsConnector {
    public function render(){
        if (!$this->init_flag){
            $this->init_flag=true;
            return "";
        }

        $res = $this->sql->select($this->request);
        return $this->render_set($res);
    }

    public function save() {
        $dp = new $this->names["data_class"]($this,$this->config,$this->request);
        $dp->process($this->config,$this->request);
    }
}