*
*
-new Pman_Core_SimpleExcel(array(
+new Pman_Core_SimpleExcel($data_array, array(
'formats' => array(
'format_name' => array( 'Align' => 'left' ), // etc...
),
'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)