diff options
author | Stanislau Wolski <stanislau.wolski@gmail.com> | 2016-02-05 16:10:04 +0300 |
---|---|---|
committer | Stanislau Wolski <stanislau.wolski@gmail.com> | 2016-02-05 16:10:04 +0300 |
commit | cda38cd377ef1ffeb328ff1e8d0ac787b65fe42f (patch) | |
tree | 594dd3da74295d1e48c720beeb051f425b40bae1 /codebase/Dhtmlx/Connector/Data/OptionsDataItem.php | |
parent | e5b1de813749963e526652d8e8d79e29dca0c6d3 (diff) | |
download | connector-php-cda38cd377ef1ffeb328ff1e8d0ac787b65fe42f.zip connector-php-cda38cd377ef1ffeb328ff1e8d0ac787b65fe42f.tar.gz connector-php-cda38cd377ef1ffeb328ff1e8d0ac787b65fe42f.tar.bz2 |
[add] SelectOptionsConnector3.0.2
Diffstat (limited to 'codebase/Dhtmlx/Connector/Data/OptionsDataItem.php')
-rw-r--r-- | codebase/Dhtmlx/Connector/Data/OptionsDataItem.php | 12 |
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 |