projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a9885
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Tue, 27 Aug 2013 02:48:16 +0000
(10:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 27 Aug 2013 02:48:16 +0000
(10:48 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
5c557b9
..
0c73d7c
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-122,6
+122,10
@@
class Pman_Core_SimpleExcel extends Pman
$this->worksheet_cfg[$cfg['workbook']] = &$cfg;
$this->formats = $formats;
+
+ if (isset($cfg['formats']) && empty($formats)) {
+ $this->formats = $cfg['formats'];
+ }
//var_dump($cfg['workbook']);
$worksheet = $workbook->addWorksheet($cfg['workbook']);