diff options
author | Egor <egor.26.93@gmail.com> | 2015-06-17 14:34:48 +0300 |
---|---|---|
committer | Egor <egor.26.93@gmail.com> | 2015-06-17 14:34:48 +0300 |
commit | 4545f686b060fff791bca679f9fcc6512a666e60 (patch) | |
tree | 5831719a8d3c798ec6f8253d467f999f9f250109 | |
parent | 67129e12d10b77911d9250b38b42b42dd5b601b4 (diff) | |
download | connector-php-4545f686b060fff791bca679f9fcc6512a666e60.zip connector-php-4545f686b060fff791bca679f9fcc6512a666e60.tar.gz connector-php-4545f686b060fff791bca679f9fcc6512a666e60.tar.bz2 |
Updated namespaces.
-rwxr-xr-x[-rw-r--r--] | codebase/Dhtmlx/Connector/JSONDataConnector.php | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | codebase/Dhtmlx/Connector/JSONGanttConnector.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/codebase/Dhtmlx/Connector/JSONDataConnector.php b/codebase/Dhtmlx/Connector/JSONDataConnector.php index 2b4b3ca..4d0d929 100644..100755 --- a/codebase/Dhtmlx/Connector/JSONDataConnector.php +++ b/codebase/Dhtmlx/Connector/JSONDataConnector.php @@ -6,7 +6,7 @@ class JSONDataConnector extends DataConnector { public function __construct($res,$type=false,$item_type=false,$data_type=false,$render_type=false){ if (!$item_type) $item_type="Dhtmlx\\Connector\\Data\\JSONCommonDataItem"; - if (!$data_type) $data_type="Dhtmlx\\Connector\\Data\\CommonDataProcessor"; + if (!$data_type) $data_type="Dhtmlx\\Connector\\DataProcessor\\CommonDataProcessor"; if (!$render_type) $render_type="Dhtmlx\\Connector\\Output\\JSONRenderStrategy"; $this->data_separator = ",\n"; parent::__construct($res,$type,$item_type,$data_type,$render_type); diff --git a/codebase/Dhtmlx/Connector/JSONGanttConnector.php b/codebase/Dhtmlx/Connector/JSONGanttConnector.php index 18bdc16..6d2b0f6 100644..100755 --- a/codebase/Dhtmlx/Connector/JSONGanttConnector.php +++ b/codebase/Dhtmlx/Connector/JSONGanttConnector.php @@ -25,9 +25,9 @@ class JSONGanttConnector extends GanttConnector { name of class which will be used for dataprocessor calls handling, optional, DataProcessor class will be used by default. */ public function __construct($res,$type=false,$item_type=false,$data_type=false,$render_type=false){ - if (!$item_type) $item_type="JSONGanttDataItem"; - if (!$data_type) $data_type="GanttDataProcessor"; - if (!$render_type) $render_type="JSONRenderStrategy"; + if (!$item_type) $item_type="Dhtmlx\\Connector\\Data\\JSONGanttDataItem"; + if (!$data_type) $data_type="Dhtmlx\\Connector\\DataProcessor\\GanttDataProcessor"; + if (!$render_type) $render_type="Dhtmlx\\Connector\\Output\\JSONRenderStrategy"; parent::__construct($res,$type,$item_type,$data_type,$render_type); } |