projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82831cd
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Wed, 6 Jun 2012 12:51:08 +0000
(20:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 6 Jun 2012 12:51:08 +0000
(20:51 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
5f368d3
..
3d7b06c
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-151,6
+151,22
@@
class Pman_Core_SimpleExcel extends Pman
}
}
}
+ $start_row += count($data);
+
+ if (!empty($cfg['foot'])) {
+ foreach($cfg['foot'] as $row) {
+ foreach($row as $c => $col) {
+ $worksheet->write($start_row, $c, $col);
+
+ }
+ $start_row++;
+ }
+ // add a spacer..
+ $start_row++;
+ }
+
+
+
$workbook->close();
$this->outfile2 = $outfile2;