cvs: pear /Structures_DataGrid/DataGrid DataSource.php

From: Date: Tue, 25 Oct 2005 20:20:17 +0000
Subject: cvs: pear /Structures_DataGrid/DataGrid DataSource.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35855@lists.php.net to get a copy of this message
olivierg Tue Oct 25 16:20:17 2005 EDT Modified files: /pear/Structures_DataGrid/DataGrid DataSource.php Log: BC fix: reverted the 'generate_columns' to false http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/DataSource.php?r1=1.7&r2=1.8&ty=u Index: pear/Structures_DataGrid/DataGrid/DataSource.php diff -u pear/Structures_DataGrid/DataGrid/DataSource.php:1.7 pear/Structures_DataGrid/DataGrid/DataSource.php:1.8 --- pear/Structures_DataGrid/DataGrid/DataSource.php:1.7 Mon Oct 10 20:27:18 2005 +++ pear/Structures_DataGrid/DataGrid/DataSource.php Tue Oct 25 16:20:16 2005 @@ -17,7 +17,7 @@ // | Andrew Nagy <asnagy@webitecture.org> | // +----------------------------------------------------------------------+ // -// $Id: DataSource.php,v 1.7 2005/10/11 00:27:18 olivierg Exp $ +// $Id: DataSource.php,v 1.8 2005/10/25 20:20:16 olivierg Exp $ /** @@ -25,8 +25,8 @@ * * <b>Recognized options (valid for all drivers) :</b> * -* <b>"generate_columns" (OBSOLETE, always true): </b> Generate -* Structures_DataGrid_Column objects with labels. (default : true) +* <b>"generate_columns" </b> Generate +* Structures_DataGrid_Column objects with labels. (default : false) * * <b>"labels" : </b> How to translate the field names to column labels. * Only used when "generate_columns" is true. Default : array(). @@ -96,7 +96,7 @@ */ function Structures_DataGrid_DataSource() { - $this->_options = array('generate_columns' => true, + $this->_options = array('generate_columns' => false, 'labels' => array(), 'fields' => array()); }

« previous php.pear.cvs (#35855) next »