SimpleExcel.php
authorAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2016 04:07:07 +0000 (12:07 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Oct 2016 04:07:07 +0000 (12:07 +0800)
SimpleExcel.php

index 631ad96..30bd3b3 100644 (file)
@@ -38,15 +38,17 @@ new Pman_Core_SimpleExcel(array(
                 'fillBlank' => 'gray', // set the color for the cell which is a blank area
             ),
             //..... and ther rows...
-        
-        // if this is set then it will add a tab foreach one.
-        workbooks = array(
-            workbook ->
-            
-        'leave_open' => false  
-            
+    ),
+    
+    // if this is set then it will add a tab foreach one.
+    'workbooks' = array(
+            workbook => '....' // ???
+    ),
+    'leave_open' => false,  // if you call addrows?? later..
             
-        // callbacks: renderer
+));
+
+    callbacks: renderer
         
         function($value, $worksheet, $row, $col, $row_data)