diff options
author | Maksim <max@dhtmlx.com> | 2011-07-18 18:21:10 +0300 |
---|---|---|
committer | Maksim <max@dhtmlx.com> | 2011-07-18 18:21:10 +0300 |
commit | 5c2afae6cf595c981155ac68501ac2d1af77db54 (patch) | |
tree | b07de6379fb3eb540df732a57061cafd05288599 /codebase/filesystem_item.php | |
download | connector-php-5c2afae6cf595c981155ac68501ac2d1af77db54.zip connector-php-5c2afae6cf595c981155ac68501ac2d1af77db54.tar.gz connector-php-5c2afae6cf595c981155ac68501ac2d1af77db54.tar.bz2 |
* import of php connector v1.2
Diffstat (limited to 'codebase/filesystem_item.php')
-rw-r--r-- | codebase/filesystem_item.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/codebase/filesystem_item.php b/codebase/filesystem_item.php new file mode 100644 index 0000000..046ad98 --- /dev/null +++ b/codebase/filesystem_item.php @@ -0,0 +1,19 @@ +<?php +/* + @author dhtmlx.com + @license GPL, see license.txt +*/ + +class FileTreeDataItem extends TreeDataItem { + + function has_kids(){ + if ($this->data['is_folder'] == '1') { + return true; + } else { + return false; + } + } + +} + +?>
\ No newline at end of file |