summaryrefslogtreecommitdiffstats
path: root/codebase/Dhtmlx/Connector/Data
diff options
context:
space:
mode:
Diffstat (limited to 'codebase/Dhtmlx/Connector/Data')
-rw-r--r--codebase/Dhtmlx/Connector/Data/OptionsDataItem.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/codebase/Dhtmlx/Connector/Data/OptionsDataItem.php b/codebase/Dhtmlx/Connector/Data/OptionsDataItem.php
new file mode 100644
index 0000000..8ea4e69
--- /dev/null
+++ b/codebase/Dhtmlx/Connector/Data/OptionsDataItem.php
@@ -0,0 +1,12 @@
+<?php
+namespace Dhtmlx\Connector\Data;
+
+class OptionsDataItem extends DataItem {
+ function to_xml(){
+ if ($this->skip) return "";
+ $str ="";
+
+ $str .= "<item value=\"".$this->xmlentities($this->data[$this->config->data[0]['db_name']])."\" label=\"".$this->xmlentities($this->data[$this->config->data[1]['db_name']])."\" />";
+ return $str;
+ }
+} \ No newline at end of file