blob: 9790f6928bbfe26e6294c4e9d2b1404397e6a3fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
namespace Dhtmlx\Connector;
class GanttLinksConnector extends OptionsConnector {
public function __construct($res,$type=false,$item_type=false,$data_type=false,$render_type=false){
if (!$item_type) $item_type="Dhtmlx\\Connector\\Data\\GanttLinkDataItem";
parent::__construct($res,$type,$item_type,$data_type,$render_type);
}
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);
}
}
|