summaryrefslogtreecommitdiffstats
path: root/codebase/Dhtmlx/Connector/Data/JSONDataItemUpdate.php
diff options
context:
space:
mode:
Diffstat (limited to 'codebase/Dhtmlx/Connector/Data/JSONDataItemUpdate.php')
-rw-r--r--codebase/Dhtmlx/Connector/Data/JSONDataItemUpdate.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/codebase/Dhtmlx/Connector/Data/JSONDataItemUpdate.php b/codebase/Dhtmlx/Connector/Data/JSONDataItemUpdate.php
new file mode 100644
index 0000000..bb6ec47
--- /dev/null
+++ b/codebase/Dhtmlx/Connector/Data/JSONDataItemUpdate.php
@@ -0,0 +1,15 @@
+<?php
+namespace Dhtmlx\Connector\Data;
+
+class JSONDataItemUpdate extends DataItemUpdate {
+
+ public function to_xml() {
+ return array(
+ "status" => $this->data["action_table_type"],
+ "id" => $this->data["dataId"],
+ "parent" => $this->get_parent_id(),
+ "data" => $this->child->to_xml()
+ );
+ }
+
+} \ No newline at end of file