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

class JSONGanttLinksConnector extends JSONOptionsConnector {
    protected $live_update_data_type = "Dhtmlx\\Connector\\Data\\JSONGanttDataUpdate";

    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);
    }
}