http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of structures_datagridThe latest releases for the package structures_datagridStructures_DataGrid 0.9.3
http://pear.php.net/package/Structures_DataGrid/download/0.9.3/
QA release<br />
Bug #19251 Missing 'Structures/DataGrid/Exception.php'
2012-01-27T13:17:12-05:00doconnorStructures_DataGrid 0.9.2
http://pear.php.net/package/Structures_DataGrid/download/0.9.2/
QA release<br />
Bug #14427 Empty SQL-Result + Array_Merge<br />
Bug #15769 setURLFormat method does not return clean query string <br />
Bug #16002 ORDER clause not stripped in count()<br />
Bug #18952 PHP 5.3 Support<br />
Bug #19026 remove error_reporting (for PEAR QA team)
2012-01-26T13:56:38-05:00doconnorStructures_DataGrid 0.9.1dev1
http://pear.php.net/package/Structures_DataGrid/download/0.9.1dev1/
QA release<br />
Directory layout<br />
- Bug #13025: field names in the form "table.field" could lead to syntax errors<br />
in the SQL queries of the DBQuery, MDB2, and PDO DataSource drivers<br />
(thanks to Matt Rosenquist)<br />
- Bug #13339: Automatic ORDER BY sort string addition can fail if subqueries<br />
are used in the the DBQuery, MDB2, and PDO DataSource drivers<br />
(thanks to Issac Navanick)<br />
- Bug #14078: SQL errors weren't returned<br />
(thanks to Antonino Balsamo)<br />
- Added encoding unit tests<br />
- Added DataObject datasource unit tests<br />
- New XML datasource example about parsing an Atom feed<br />
- Improved XML datasource test suite<br />
- Bug #17731 - avoid ereg
2010-10-10T13:22:42-05:00doconnorStructures_DataGrid 0.9.0
http://pear.php.net/package/Structures_DataGrid/download/0.9.0/
- add 18 examples, including simple AJAX support<br />
- support setting rendering options for all renderers at once<br />
with setRendererOption*()<br />
- new common renderer options: onMove and onMoveData, for support of<br />
onclick/onsubmit events<br />
- rename 'primary_key' DataSource option as 'primaryKey'<br />
- new PDO DataSource driver is available as a separate subpackage<br />
- new URL mapping feature by Sascha Grossenbacher,<br />
- Request #9994 :new setUrlFormat() method providing clean URL mapping,<br />
by Sascha Grossenbacher<br />
- add ability to use objects of any class instead of associative arrays as <br />
records (not all datasources support that, and renderers handle such objects<br />
differently whether they support "Object Preserving" or not)<br />
- add Smarty renderer unit test
2007-12-18T11:16:41-05:00wiesemannStructures_DataGrid 0.8.3
http://pear.php.net/package/Structures_DataGrid/download/0.8.3/
- Bug #10590: calls to removeColumn() could lead to a fatal PHP error<br />
(thanks to Chris Van De Wouw)
2007-04-12T10:46:39-05:00wiesemannStructures_DataGrid 0.8.2
http://pear.php.net/package/Structures_DataGrid/download/0.8.2/
- Bug #9992: sorting the first column failed for array based DataSource drivers<br />
in the case of missing or numeric column names<br />
(thanks to Michael Mauch, michael dot mauch at gmx dot de)<br />
- Bug #10213: static calls to dataSourceFactory() and rendererFactory() resulted<br />
in a fatal PHP error<br />
(thanks to Markus Ernst, derernst at gmx dot ch)
2007-03-11T09:21:26-05:00wiesemannStructures_DataGrid 0.8.1
http://pear.php.net/package/Structures_DataGrid/download/0.8.1/
- Fix for bug #9820: when the DataSource fetching failed, the error got lost
2007-01-15T10:25:56-05:00wiesemannStructures_DataGrid 0.8.0
http://pear.php.net/package/Structures_DataGrid/download/0.8.0/
- added streaming support for outputting large datasets that can exceed PHP's<br />
memory limit; streaming is currently supported by many DataSource drivers and<br />
the CSV and XML renderers; more details about this new feature can be found<br />
in the manual<br />
- secured the sort direction input string<br />
- new abstract writeMode DataSource interface, for future support of data<br />
editing features<br />
- new SDG_Column::format() method providing auto-formatters for dates, numbers<br />
and more<br />
- bug #9566: new Structures_DataGrid::getColumns() method for fetching all<br />
of the columns currently loaded in the datagrid<br />
(thanks to Daniel Garcia, daniel at assertio dot es)<br />
- bug #9548: new SDG_Column::set|getDefaultDirection() methods for <br />
handling per-column default sorting directions<br />
(thanks to Anton, hire at ukr dot net)<br />
- bug #7710: new generateColumns() method. The DataSource options <br />
"generate_columns" and "labels" are now deprecated.<br />
- BC break: renderer auto-detection for HTML_QuickForm objects was removed<br />
because there will be more renderers that accept HTML_QuickForm objects in<br />
the future<br />
(to make your code work again, you just need to specify 'HTMLSortForm' as the<br />
renderer on render(), getOutput(), fill() etc. calls)<br />
- this package is now licensed under the New BSD license
2006-12-16T11:13:28-05:00wiesemannStructures_DataGrid 0.7.2
http://pear.php.net/package/Structures_DataGrid/download/0.7.2/
- The usage of constants for selecting DataSource or Renderer driver is now<br />
deprecated. Use the name of the driver instead (e.g. CSV, DB_Table, Smarty).<br />
For some drivers there exist also more logical names like 'Excel' (instead of<br />
'XLS'). Names like 'HTML_Table' (name of the PEAR package) and 'HTMLTable'<br />
(name of the Structures_DataGrid driver) are both allowed.<br />
- Bug #8005: fill() did not pass options to the renderer<br />
(thanks to Daniel Rossi, pear at electroteque dot org)<br />
- use native http_build_query() if PHP 5 is installed<br />
- Request #8061:<br />
added getDataSource(), made datasourceFactory() public <br />
added getter and setter methods for all column object attributes<br />
fixed non-static call in dataSourceFactory()<br />
(thanks to Markus Ernst, derernst at gmx dot ch)<br />
- Request #7969: added example to the fill() method <br />
(thanks to Benny Labach, bennythebee at gmail dot com)<br />
- Request #8089: fixed the DataSource class documentation<br />
(thanks to Michel D'HOOGE, michel dot dhooge at gmail dot com)<br />
- Request #8320: new removeColumn() method<br />
(thanks to Arcadius, arcadius at menelic dot com)<br />
- fixed calculation of the number of the last record<br />
- fixed internal usage of the page number that was either given via the second<br />
constructor parameter or via the 'page' GET variable: if it is too low or too<br />
high, it is now resetted to 1 ("too low" means: the given page number is lower<br />
than 1; "too high" means: the real page count is lower than the given page<br />
number)<br />
- fixed handling of column attributes for the Smarty renderer
2006-10-17T15:40:18-05:00wiesemannStructures_DataGrid 0.7.1
http://pear.php.net/package/Structures_DataGrid/download/0.7.1/
##########################################################################<br />
# WARNING - BACKWARDS INCOMPATIBILITIES #<br />
# #<br />
# The Structures_DataGrid::renderer property is not public anymore. It #<br />
# is now required to use the Structures_DataGrid::getRenderer() method #<br />
# in order to access the renderer object. #<br />
# #<br />
# Arguments for column formatters are not available anymore in the first #<br />
# parameter of self-defined formatter functions. There is a new second #<br />
# parameter which holds these arguments (see also below, request #6720). #<br />
# If you want to have the old behaviour (i.e. all arguments in the array #<br />
# of the first parameter), just add the following line #<br />
# $_STRUCTURES_DATAGRID['column_formatter_BC'] = true; #<br />
# before adding your columns to the datagrid. #<br />
# #<br />
# Adding or removing single records via Structures_DataGrid::addRecord() #<br />
# and Structures_DataGrid::dropRecord() isn't possible anymore. #<br />
##########################################################################<br />
<br />
##########################################################################<br />
# ATTENTION #<br />
# #<br />
# All drivers (i.e. all DataSources and all Renderers) have been #<br />
# unbundled from Structures_DataGrid and are now available as separate #<br />
# PEAR packages. #<br />
# #<br />
# Therefore, to run your scripts, you have to install some of these new #<br />
# packages as well. For example, most users will need to install the #<br />
# package Structures_DataGrid_Renderer_HTMLTable. #<br />
# #<br />
# The installation of *all* DataSources is possible via: #<br />
# pear install Structures_DataGrid-beta#datasources #<br />
# The installation of *all* Renderers is possible via: #<br />
# pear install Structures_DataGrid-beta#renderers #<br />
##########################################################################<br />
<br />
BUGS:<br />
<br />
- bug #4415: example files were installed in the package directory, now they<br />
will be installed into [PEAR-DOC-DIR]/Structures_DataGrid/docs/examples/<br />
- bug #5858: removed @ before include() in DataSource.php (could crash silently) <br />
- bug #6624: column formatters using class names didn't handle parameters and<br />
class methods at the same time<br />
<br />
FEATURE REQUESTS:<br />
<br />
- requests #5758 and #7927: new parameters for Structures_DataGrid_Column::formatter()<br />
callback: 'fieldName', 'columnName', 'orderBy', 'attribs', 'currRow', 'currCol'<br />
- request #5859: the rendering layer has gone through a long refactoring<br />
process and a new and flexible renderer driver interface has been<br />
implemented<br />
- request #6621: new method getColumnByName() that returns a reference to<br />
a column object<br />
- request #6720: arguments for column formatters can now be added via the (new)<br />
seventh column constructor (for example, you can now add arrays as arguments)<br />
<br />
OTHER FIXES AND CHANGES:<br />
<br />
- all DataSource and Renderer drivers have been unbundled<br />
- new DataSource drivers: DBTable, DBQuery and MDB2<br />
- query building:<br />
The query building process has been optimized, and is now more<br />
flexible due to the use of http_build_query(). <br />
- custom rendering containers:<br />
The containers that rendering drivers use to do their job, such as <br />
HTML_Table, Spreadsheet_Excel_Writer, etc. can now be instantiated<br />
and customized by the user. They are then passed to the rendering<br />
driver with new methods such as Structures_DataGrid::fill() or <br />
Structures_DataGrid_Renderer_*::setContainer().<br />
- new fill() method:<br />
This method is meant to be to renderers what bind() is to datasources.<br />
It accepts a "rendering container" object (where bind() accepts a <br />
"datasource container") which it fills with data. No data is output<br />
during this process. It is up to the user to decide what to do with <br />
the container once it's been filled up.<br />
- sortable and unsortable fields:<br />
Better support for the $orderBy parameter of the column constructor:<br />
if it is null, then the corresponding column is considered unsortable,<br />
which is taken into account by various renderer drivers (HTMLTable, XUL, <br />
etc.)<br />
- new rendering driver: Structures_DataGrid_Renderer_HTMLSortForm
2006-06-19T13:56:20-05:00olivierg