cvs: pear /Structures_DataGrid/DataGrid/Renderer XLS.php
| From: | Olivier Guilyardi | Date: | Fri, 28 Oct 2005 15:08:50 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid/Renderer XLS.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35932@lists.php.net to get a copy of this message | ||
olivierg Fri Oct 28 11:08:50 2005 EDT
Modified files:
/pear/Structures_DataGrid/DataGrid/Renderer XLS.php
Log:
Improved the documentation of setHeaderFormat() and setBodyFormat()
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Renderer/XLS.php?r1=1.24&r2=1.25&ty=u
Index: pear/Structures_DataGrid/DataGrid/Renderer/XLS.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.24
pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.25
--- pear/Structures_DataGrid/DataGrid/Renderer/XLS.php:1.24 Fri Oct 28 09:58:33 2005
+++ pear/Structures_DataGrid/DataGrid/Renderer/XLS.php Fri Oct 28 11:08:47 2005
@@ -16,14 +16,14 @@
// | Author: Andrew Nagy <asnagy@webitecture.org> |
// +----------------------------------------------------------------------+
//
-// $Id: XLS.php,v 1.24 2005/10/28 13:58:33 olivierg Exp $
+// $Id: XLS.php,v 1.25 2005/10/28 15:08:47 olivierg Exp $
require_once 'Spreadsheet/Excel/Writer.php';
/**
* Structures_DataGrid_Renderer_XLS Class
*
- * @version $Revision: 1.24 $
+ * @version $Revision: 1.25 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @access public
* @package Structures_DataGrid
@@ -146,8 +146,13 @@
/**
* Set headers format
+ *
+ * It is required to use setCustomWriter() before calling this method.
+ * The Format object provided to setHeaderFormat() has to be derived
+ * from the Workbook passed to setCustomWriter().
*
* @param object $format Spreadsheet_Excel_Writer_Format object
+ * @see Structures_DataGrid_Renderer_XLS::setCustomWriter()
*/
function setHeaderFormat (&$format)
{
@@ -157,7 +162,12 @@
/**
* Set body format
*
+ * It is required to use setCustomWriter() before calling this method.
+ * The Format object provided to setBodyFormat() has to be derived
+ * from the Workbook passed to setCustomWriter().
+ *
* @param object $format Spreadsheet_Excel_Writer_Format object
+ * @see Structures_DataGrid_Renderer_XLS::setCustomWriter()
*/
function setBodyFormat (&$format)
{