projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f378c
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Fri, 22 Feb 2013 03:20:18 +0000
(11:20 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 22 Feb 2013 03:20:18 +0000
(11:20 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
45032d7
..
94ec2a0
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-48,6
+48,7
@@
class Pman_Core_SimpleExcel extends Pman
var $workSheetCfg = array();
var $start_row = 0;
var $formats = array();
+ var $workbook = false;
function Pman_Core_SimpleExcel($data,$cfg)
{
@@
-314,6
+315,9
@@
class Pman_Core_SimpleExcel extends Pman
function send($fn)
{
+ if (empty($cfg['leave_open'])) {
+ $this->
+
require_once 'File/Convert.php';
$fc= new File_Convert($this->outfile2, "application/vnd.ms-excel");
$fn = $fc->convert("application/vnd.ms-excel");