projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a577c14
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Fri, 12 Sep 2014 05:21:43 +0000
(13:21 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 12 Sep 2014 05:21:43 +0000
(13:21 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
53d055c
..
362aa35
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-31,6
+31,7
@@
* 'dataFormat' => 'string' // to force a string..
'width'=> 75,
'renderer' => array($this, 'getThumb'),
* 'dataFormat' => 'string' // to force a string..
'width'=> 75,
'renderer' => array($this, 'getThumb'),
+ 'txtrenderer' => array($this, 'getThumb'),
* 'color' => 'yellow', // set color for the cell which is a header element
* 'fillBlank' => 'gray', // set the color for the cell which is a blank area
),
* 'color' => 'yellow', // set color for the cell which is a header element
* 'fillBlank' => 'gray', // set the color for the cell which is a blank area
),
@@
-41,6
+42,16
@@
'leave_open' => false
'leave_open' => false
+
+ // callbacks: renderer
+
+ function($value, $worksheet, $row, $col, $row_data)
+
+ // callbacks : txtrenderer
+ function($value, $worksheet, $row, $col, $row_data)
+
+
+
*/
*/