'width'=> 75,
'renderer' => array($this, 'getThumb')
),
-
+
+ // if this is set then it will add a tab foreach one.
+ workbooks = array(
+ workbook ->
}
+ if (empty($cfg['workbooks'])) {
+ $this->buildpage( $workbook, $formats , $data,$cfg);
+ } else {
+ foreach($cfg['workbooks'] as $i =>$wcfg) {
+ $this->buildpage( $workbook, $formats , $data[$i],$wcfg);
+ }
+
+ }
+
+
+
// Creating a worksheet
$worksheet =& $workbook->addWorksheet($cfg['workbook']);
}
+ function buildpage($data,$cfg)
+ {
+
+
+
+
+
+ }
+
+
+
function send($fn)
{