projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
290ae4c
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 07:27:06 +0000
(15:27 +0800)
committer
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 07:27:06 +0000
(15:27 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
3a2626e
..
5467954
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-146,6
+146,7
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['cols'] as $c=>$col_cfg) {
+
$worksheet->write($start_row, $c, $col_cfg['header']);
$worksheet->setColumn ( $c, $c, $col_cfg['width'] / 5);
@@
-153,7
+154,6
@@
class Pman_Core_SimpleExcel extends Pman
$start_row++;
$hasRender = false;
// DB_DataObject::debugLevel(1);
- print_r($data);exit;
foreach($data as $r=>$clo) {
$cl = $clo;
if (is_object($clo)) {