summaryrefslogtreecommitdiffstats
path: root/codebase/Dhtmlx/Connector/Data/JSONDataItemUpdate.php
blob: bb6ec47a99c32d32b9dd78441ba549ccc0c913f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()
        );
    }

}