cvs: pear /Structures_DataGrid/DataGrid/Renderer Console.php
| From: | Mark Wiesemann | Date: | Sat, 25 Feb 2006 09:56:49 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid/Renderer Console.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38593@lists.php.net to get a copy of this message | ||
wiesemann Sat Feb 25 09:56:49 2006 UTC
Modified files:
/pear/Structures_DataGrid/DataGrid/Renderer Console.php
Log:
- clean-up this renderer
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/Console.php?r1=1.4&r2=1.5&diff_format=u
Index: pear/Structures_DataGrid/DataGrid/Renderer/Console.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.4
pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.5
--- pear/Structures_DataGrid/DataGrid/Renderer/Console.php:1.4 Fri Feb 24 16:59:19 2006
+++ pear/Structures_DataGrid/DataGrid/Renderer/Console.php Sat Feb 25 09:56:48 2006
@@ -13,12 +13,12 @@
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
-// | Authors: Andrew Nagy <asnagy@webitecture.org> |
+// | Authors: Andrew Nagy <asnagy@webitecture.org> |
// | Olivier Guilyardi <olivier@samalyse.com> |
// | Mark Wiesemann <wiesemann@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Console.php,v 1.4 2006/02/24 16:59:19 wiesemann Exp $
+// $Id: Console.php,v 1.5 2006/02/25 09:56:48 wiesemann Exp $
require_once 'Structures/DataGrid/Renderer/Common.php';
require_once 'Console/Table.php';
@@ -26,7 +26,7 @@
/**
* Structures_DataGrid_Renderer_Console Class
*
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @author Olivier Guilyardi <olivier@samalyse.com>
* @author Mark Wiesemann <wiesemann@php.net>
@@ -71,17 +71,16 @@
{
$this->_options['buildHeader'] = (bool)$bool;
}
-
- function render()
- {
- echo $this->toAscii();
- }
+ /**
+ * Returns the output of the table
+ *
+ * @access public
+ * @return string The output of the table
+ */
function toAscii()
{
return $this->getOutput();
-# $table = $this->getTable();
-# return $table->getTable();
}
/**