projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c26af
)
ExcelToJson.php
author
Alan Knowles
<alan@roojs.com>
Mon, 1 Apr 2013 09:02:47 +0000
(17:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 1 Apr 2013 09:02:47 +0000
(17:02 +0800)
ExcelToJson.php
patch
|
blob
|
history
diff --git
a/ExcelToJson.php
b/ExcelToJson.php
index
5dfca9f
..
25b298b
100644
(file)
--- a/
ExcelToJson.php
+++ b/
ExcelToJson.php
@@
-31,6
+31,9
@@
class Pman_Core_ExcelToJson extends Pman_Roo
$fc = new File_Convert($img->getStoreName(), $img->mimetype );
$csv = $fc->convert('text/csv');
$ret = $this->importCsv($csv);
+
+ print_R($ret);exit;
+
$this->jdata($ret['data'], false, isset($ret['extra']) ? $ret['extra'] : array() );
}