SimpleExcel.php
authorAlan Knowles <alan@roojs.com>
Fri, 22 Feb 2013 03:14:07 +0000 (11:14 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 Feb 2013 03:14:07 +0000 (11:14 +0800)
SimpleExcel.php

index 23a9f16..6ccfff2 100644 (file)
@@ -45,7 +45,7 @@
 class Pman_Core_SimpleExcel extends Pman
 {
     
-    
+    var $workSheetCfg = array();
     
     function Pman_Core_SimpleExcel($data,$cfg)
     {
@@ -105,6 +105,8 @@ class Pman_Core_SimpleExcel extends Pman
         //echo '<PRE>';        print_R($cfg);
       //  print_r($cfg);exit;
         // Creating a worksheet
+        
+        $this->worksheetCfg $worksheet_name
         $worksheet =  $workbook->addWorksheet($cfg['workbook']);
         if (is_a($worksheet, 'PEAR_Error')) {
             die($worksheet->toString());