<?xml version="1.0" encoding="iso-8859-1"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns="http://purl.org/rss/1.0/"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
    <channel rdf:about="http://pear.php.net/">
    <link>http://pear.php.net/</link>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <dc:language>en-us</dc:language><items>
<rdf:Seq><rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.9.0/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.8.3/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.8.2/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.8.1/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.8.0/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.7.2/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.7.1/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.6.3/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.6.2/"/>
<rdf:li rdf:resource="http://pear.php.net/package/Structures_DataGrid/download/0.6.0/"/>
</rdf:Seq>
</items>

<title>Latest releases</title>
<description>The latest releases for the package structures_datagrid</description>
</channel>

<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.9.0/">
 <title>Structures_DataGrid 0.9.0</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.9.0/</link>
 <content:encoded>- add 18 examples, including simple AJAX support&lt;br /&gt;
- support setting rendering options for all renderers at once&lt;br /&gt;
  with setRendererOption*()&lt;br /&gt;
- new common renderer options: onMove and onMoveData, for support of&lt;br /&gt;
  onclick/onsubmit events&lt;br /&gt;
- rename 'primary_key' DataSource option as 'primaryKey'&lt;br /&gt;
- new PDO DataSource driver is available as a separate subpackage&lt;br /&gt;
- new URL mapping feature by Sascha Grossenbacher,&lt;br /&gt;
- Request #9994 :new setUrlFormat() method providing clean URL mapping,&lt;br /&gt;
  by Sascha Grossenbacher&lt;br /&gt;
- add ability to use objects of any class instead of associative arrays as &lt;br /&gt;
  records (not all datasources support that, and renderers handle such objects&lt;br /&gt;
  differently whether they support &quot;Object Preserving&quot; or not)&lt;br /&gt;
- add Smarty renderer unit test
 </content:encoded>
 <dc:date>2007-12-18T11:16:41-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.8.3/">
 <title>Structures_DataGrid 0.8.3</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.8.3/</link>
 <content:encoded>- Bug #10590: calls to removeColumn() could lead to a fatal PHP error&lt;br /&gt;
  (thanks to Chris Van De Wouw)
 </content:encoded>
 <dc:date>2007-04-12T10:46:39-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.8.2/">
 <title>Structures_DataGrid 0.8.2</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.8.2/</link>
 <content:encoded>- Bug #9992: sorting the first column failed for array based DataSource drivers&lt;br /&gt;
  in the case of missing or numeric column names&lt;br /&gt;
  (thanks to Michael Mauch, michael dot mauch at gmx dot de)&lt;br /&gt;
- Bug #10213: static calls to dataSourceFactory() and rendererFactory() resulted&lt;br /&gt;
  in a fatal PHP error&lt;br /&gt;
  (thanks to Markus Ernst, derernst at gmx dot ch)
 </content:encoded>
 <dc:date>2007-03-11T09:21:26-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.8.1/">
 <title>Structures_DataGrid 0.8.1</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.8.1/</link>
 <content:encoded>- Fix for bug #9820: when the DataSource fetching failed, the error got lost
 </content:encoded>
 <dc:date>2007-01-15T10:25:56-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.8.0/">
 <title>Structures_DataGrid 0.8.0</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.8.0/</link>
 <content:encoded>- added streaming support for outputting large datasets that can exceed PHP's&lt;br /&gt;
  memory limit; streaming is currently supported by many DataSource drivers and&lt;br /&gt;
  the CSV and XML renderers; more details about this new feature can be found&lt;br /&gt;
  in the manual&lt;br /&gt;
- secured the sort direction input string&lt;br /&gt;
- new abstract writeMode DataSource interface, for future support of data&lt;br /&gt;
  editing features&lt;br /&gt;
- new SDG_Column::format() method providing auto-formatters for dates, numbers&lt;br /&gt;
  and more&lt;br /&gt;
- bug #9566: new Structures_DataGrid::getColumns() method for fetching all&lt;br /&gt;
  of the columns currently loaded in the datagrid&lt;br /&gt;
  (thanks to Daniel Garcia, daniel at assertio dot es)&lt;br /&gt;
- bug #9548: new SDG_Column::set|getDefaultDirection() methods for &lt;br /&gt;
  handling per-column default sorting directions&lt;br /&gt;
  (thanks to Anton, hire at ukr dot net)&lt;br /&gt;
- bug #7710: new generateColumns() method. The DataSource options &lt;br /&gt;
  &quot;generate_columns&quot; and &quot;labels&quot; are now deprecated.&lt;br /&gt;
- BC break: renderer auto-detection for HTML_QuickForm objects was removed&lt;br /&gt;
  because there will be more renderers that accept HTML_QuickForm objects in&lt;br /&gt;
  the future&lt;br /&gt;
  (to make your code work again, you just need to specify 'HTMLSortForm' as the&lt;br /&gt;
  renderer on render(), getOutput(), fill() etc. calls)&lt;br /&gt;
- this package is now licensed under the New BSD license
 </content:encoded>
 <dc:date>2006-12-16T11:13:28-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.7.2/">
 <title>Structures_DataGrid 0.7.2</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.7.2/</link>
 <content:encoded>- The usage of constants for selecting DataSource or Renderer driver is now&lt;br /&gt;
  deprecated. Use the name of the driver instead (e.g. CSV, DB_Table, Smarty).&lt;br /&gt;
  For some drivers there exist also more logical names like 'Excel' (instead of&lt;br /&gt;
  'XLS'). Names like 'HTML_Table' (name of the PEAR package) and 'HTMLTable'&lt;br /&gt;
  (name of the Structures_DataGrid driver) are both allowed.&lt;br /&gt;
- Bug #8005: fill() did not pass options to the renderer&lt;br /&gt;
  (thanks to Daniel Rossi, pear at electroteque dot org)&lt;br /&gt;
- use native http_build_query() if PHP 5 is installed&lt;br /&gt;
- Request #8061:&lt;br /&gt;
  added getDataSource(), made datasourceFactory() public &lt;br /&gt;
  added getter and setter methods for all column object attributes&lt;br /&gt;
  fixed non-static call in dataSourceFactory()&lt;br /&gt;
  (thanks to Markus Ernst, derernst at gmx dot ch)&lt;br /&gt;
- Request #7969: added example to the fill() method &lt;br /&gt;
  (thanks to Benny Labach, bennythebee at gmail dot com)&lt;br /&gt;
- Request #8089: fixed the DataSource class documentation&lt;br /&gt;
  (thanks to Michel D'HOOGE, michel dot dhooge at gmail dot com)&lt;br /&gt;
- Request #8320: new removeColumn() method&lt;br /&gt;
  (thanks to Arcadius, arcadius at menelic dot com)&lt;br /&gt;
- fixed calculation of the number of the last record&lt;br /&gt;
- fixed internal usage of the page number that was either given via the second&lt;br /&gt;
  constructor parameter or via the 'page' GET variable: if it is too low or too&lt;br /&gt;
  high, it is now resetted to 1 (&quot;too low&quot; means: the given page number is lower&lt;br /&gt;
  than 1; &quot;too high&quot; means: the real page count is lower than the given page&lt;br /&gt;
  number)&lt;br /&gt;
- fixed handling of column attributes for the Smarty renderer
 </content:encoded>
 <dc:date>2006-10-17T15:40:18-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.7.1/">
 <title>Structures_DataGrid 0.7.1</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.7.1/</link>
 <content:encoded>##########################################################################&lt;br /&gt;
#                 WARNING - BACKWARDS INCOMPATIBILITIES                  #&lt;br /&gt;
#                                                                        #&lt;br /&gt;
# The Structures_DataGrid::renderer property is not public anymore. It   #&lt;br /&gt;
# is now required to use the Structures_DataGrid::getRenderer() method   #&lt;br /&gt;
# in order to access the renderer object.                                #&lt;br /&gt;
#                                                                        #&lt;br /&gt;
# Arguments for column formatters are not available anymore in the first #&lt;br /&gt;
# parameter of self-defined formatter functions. There is a new second   #&lt;br /&gt;
# parameter which holds these arguments (see also below, request #6720). #&lt;br /&gt;
# If you want to have the old behaviour (i.e. all arguments in the array #&lt;br /&gt;
# of the first parameter), just add the following line                   #&lt;br /&gt;
#     $_STRUCTURES_DATAGRID['column_formatter_BC'] = true;               #&lt;br /&gt;
# before adding your columns to the datagrid.                            #&lt;br /&gt;
#                                                                        #&lt;br /&gt;
# Adding or removing single records via Structures_DataGrid::addRecord() #&lt;br /&gt;
# and Structures_DataGrid::dropRecord() isn't possible anymore.          #&lt;br /&gt;
##########################################################################&lt;br /&gt;
&lt;br /&gt;
##########################################################################&lt;br /&gt;
#                               ATTENTION                                #&lt;br /&gt;
#                                                                        #&lt;br /&gt;
# All drivers (i.e. all DataSources and all Renderers) have been         #&lt;br /&gt;
# unbundled from Structures_DataGrid and are now available as separate   #&lt;br /&gt;
# PEAR packages.                                                         #&lt;br /&gt;
#                                                                        #&lt;br /&gt;
# Therefore, to run your scripts, you have to install some of these new  #&lt;br /&gt;
# packages as well. For example, most users will need to install the     #&lt;br /&gt;
# package Structures_DataGrid_Renderer_HTMLTable.                        #&lt;br /&gt;
#                                                                        #&lt;br /&gt;
# The installation of *all* DataSources is possible via:                 #&lt;br /&gt;
#   pear install Structures_DataGrid-beta#datasources                    #&lt;br /&gt;
# The installation of *all* Renderers is possible via:                   #&lt;br /&gt;
#   pear install Structures_DataGrid-beta#renderers                      #&lt;br /&gt;
##########################################################################&lt;br /&gt;
&lt;br /&gt;
BUGS:&lt;br /&gt;
&lt;br /&gt;
- bug #4415: example files were installed in the package directory, now they&lt;br /&gt;
  will be installed into [PEAR-DOC-DIR]/Structures_DataGrid/docs/examples/&lt;br /&gt;
- bug #5858: removed @ before include() in DataSource.php (could crash silently)           &lt;br /&gt;
- bug #6624: column formatters using class names didn't handle parameters and&lt;br /&gt;
  class methods at the same time&lt;br /&gt;
&lt;br /&gt;
FEATURE REQUESTS:&lt;br /&gt;
&lt;br /&gt;
- requests #5758 and #7927: new parameters for Structures_DataGrid_Column::formatter()&lt;br /&gt;
  callback: 'fieldName', 'columnName', 'orderBy', 'attribs', 'currRow', 'currCol'&lt;br /&gt;
- request #5859: the rendering layer has gone through a long refactoring&lt;br /&gt;
  process and a new and flexible renderer driver interface has been&lt;br /&gt;
  implemented&lt;br /&gt;
- request #6621: new method getColumnByName() that returns a reference to&lt;br /&gt;
  a column object&lt;br /&gt;
- request #6720: arguments for column formatters can now be added via the (new)&lt;br /&gt;
  seventh column constructor (for example, you can now add arrays as arguments)&lt;br /&gt;
&lt;br /&gt;
OTHER FIXES AND CHANGES:&lt;br /&gt;
&lt;br /&gt;
- all DataSource and Renderer drivers have been unbundled&lt;br /&gt;
- new DataSource drivers: DBTable, DBQuery and MDB2&lt;br /&gt;
- query building:&lt;br /&gt;
  The query building process has been optimized, and is now more&lt;br /&gt;
  flexible due to the use of http_build_query(). &lt;br /&gt;
- custom rendering containers:&lt;br /&gt;
  The containers that rendering drivers use to do their job, such as &lt;br /&gt;
  HTML_Table, Spreadsheet_Excel_Writer, etc. can now be instantiated&lt;br /&gt;
  and customized by the user. They are then passed to the rendering&lt;br /&gt;
  driver with new methods such as Structures_DataGrid::fill() or &lt;br /&gt;
  Structures_DataGrid_Renderer_*::setContainer().&lt;br /&gt;
- new fill() method:&lt;br /&gt;
  This method is meant to be to renderers what bind() is to datasources.&lt;br /&gt;
  It accepts a &quot;rendering container&quot; object (where bind() accepts a &lt;br /&gt;
  &quot;datasource container&quot;) which it fills with data. No data is output&lt;br /&gt;
  during this process. It is up to the user to decide what to do with &lt;br /&gt;
  the container once it's been filled up.&lt;br /&gt;
- sortable and unsortable fields:&lt;br /&gt;
  Better support for the $orderBy parameter of the column constructor:&lt;br /&gt;
  if it is null, then the corresponding column is considered unsortable,&lt;br /&gt;
  which is taken into account by various renderer drivers (HTMLTable, XUL, &lt;br /&gt;
  etc.)&lt;br /&gt;
- new rendering driver: Structures_DataGrid_Renderer_HTMLSortForm
 </content:encoded>
 <dc:date>2006-06-19T13:56:20-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.6.3/">
 <title>Structures_DataGrid 0.6.3</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.6.3/</link>
 <content:encoded>* Bug #3304 : fixed the requestPrefix handling. &lt;br /&gt;
              thanks &lt;pm at phpshop dot org&gt;&lt;br /&gt;
* Bug #3306 : addColumn() is now compatible with bind()&lt;br /&gt;
              thanks E. Grace &lt;ej.grace at imperial dot ac dot uk&gt;&lt;br /&gt;
* Bug #3588 : Handle quotes in CSV renderer correctly &lt;br /&gt;
              thanks &lt;justinpatrin at php dot net&gt;&lt;br /&gt;
* Bug #3601 : Wrapped HTML output with htmlentities() &lt;br /&gt;
              thanks &lt;maarten at xolphin dot nl&gt;&lt;br /&gt;
* Bug #3607 : Fixed fatal error when binding to a null data set &lt;br /&gt;
              thanks &lt;nick at foobar dot org&gt;&lt;br /&gt;
* Bug #3617 : Fixed warning message when sorting with Array data source&lt;br /&gt;
              thanks &lt;rafal at friendlysol dot com&gt;&lt;br /&gt;
* Bug #3715 : Fixed notice message with column formatter&lt;br /&gt;
              thanks &lt;maarten at xolphin dot nl&gt;&lt;br /&gt;
* Bug #3769 : Fixed calling DataObject getters as a function instead of a property&lt;br /&gt;
              thanks &lt;listsdg at yahoo dot fr&gt;&lt;br /&gt;
* Bug #3781 : Fixed incorrect require_once path on CSV datasource&lt;br /&gt;
              thanks &lt;pear at felixdd dot de&gt;&lt;br /&gt;
* Bug #3847 : Fixed warning raised when the recordset is null&lt;br /&gt;
              thanks &lt;justinpatrin at php dot net&gt;&lt;br /&gt;
* Bug #3859 : Fixed useHeader method in HTML_Table renderer&lt;br /&gt;
              thanks &lt;daniel at assertio dot es&gt;&lt;br /&gt;
* Bug #4022 : Fixed issue with including record variable in column formatter when parameters are defined&lt;br /&gt;
              thanks &lt;justinpatrin at php dot net&gt;&lt;br /&gt;
* Bug #4350 : Fixed XML renderer constructor&lt;br /&gt;
              thanks &lt;tier at gregor-widuch dot de&gt;&lt;br /&gt;
* Bug #4375 : new method to customize generated links: &lt;br /&gt;
              HTMLTable::setExtraVars()&lt;br /&gt;
              thanks &lt;keith at setuplinux dot com&gt;&lt;br /&gt;
* Bug #4403 : Fixed sorting for non-datasource recordsets.&lt;br /&gt;
              thanks &lt;jessup at mrpath dot com&gt;&lt;br /&gt;
* Bug #4416 : Added 4 new methods to allow for retrieving of current display status of the DataGrid:&lt;br /&gt;
              SDG::getPageCount()&lt;br /&gt;
              SDG::getRecordCount()&lt;br /&gt;
              SDG::getCurrentRecordNumberStart()&lt;br /&gt;
              SDG::getCurrentRecordNumberEnd()&lt;br /&gt;
              thanks &lt;post at mark-wiesemann dot de&gt;&lt;br /&gt;
* Bug #4421 : Fixed error on DataObject data source with FormBuilder Integration&lt;br /&gt;
              thanks &lt;justinpatrin at php dot net&gt;&lt;br /&gt;
* Bug #4503 : Fixed error with sorting in Array DataSource&lt;br /&gt;
              thanks &lt;justinpatrin at php dot net&gt;&lt;br /&gt;
* Bug #4521 : Fixed the perpage limit with HTMLTable renderer to show all records instead of the default 10&lt;br /&gt;
              thanks &lt;wiesemann at php dot net&gt;&lt;br /&gt;
* Bug #4527 : Fixed allowEmptyRows() method in HTMLTable renderer to display correct number of rows&lt;br /&gt;
              thanks &lt;wiesemann at php dot net&gt;&lt;br /&gt;
* Bug #4557 : Fixed 1st row overwriting header row in XLS renderer&lt;br /&gt;
              thanks &lt;wiesemann at php dot net&gt;&lt;br /&gt;
* Bug #4558 : Modified render output for XLS renderer to allow saving to the local file system&lt;br /&gt;
              thanks &lt;wiesemann at php dot net&gt;&lt;br /&gt;
* Bug #4863 : Fixed notice in CSV renderer about the not intialized variable&lt;br /&gt;
              thanks &lt;info at borki dot ch&gt;&lt;br /&gt;
* Bug #4872 : fixed a notice when using formatters&lt;br /&gt;
              thanks &lt;pupeno at pupeno dot com&gt;                       &lt;br /&gt;
* Bug #4874 : Fixed the name of the getter call in DataObject datasource&lt;br /&gt;
              thanks &lt;evt at infoware dot com dot au&gt;&lt;br /&gt;
* Bug #5255 : missing dependencies caused a silent bug&lt;br /&gt;
              thanks &lt;blcdhq at gmail dot com&gt;&lt;br /&gt;
* Bug #5292 : fixed HTMLTable header parsing and generation &lt;br /&gt;
* Bug #5300 : Fixed notice on column formatter&lt;br /&gt;
              thanks &lt;kick_tisho at yahoo dot com&gt;&lt;br /&gt;
* Bug #5327 : Can now define a custom lineBreak in CSV renderer.  Also removed extra white space between each element.&lt;br /&gt;
              thanks &lt;post at mark-wiesemann dot de&gt; and &lt;pnovess at mac dot com&gt;&lt;br /&gt;
* Bug #5535 : Fixed XLS and XUL renderers due to bad check for null&lt;br /&gt;
              thanks Aaron Wormus&lt;br /&gt;
&lt;br /&gt;
* The $type argument of the bind() method was not usable because&lt;br /&gt;
  DATAGRID_SOURCE_* constants were defined in the wrong place : fixed&lt;br /&gt;
* Fixed some undefined variable notices in the XLS renderer, for empty &lt;br /&gt;
  data rows (related to bug #5535)&lt;br /&gt;
* The CSV datasource did not correctly strip DOS'ish carriage returns: &lt;br /&gt;
  fixed
 </content:encoded>
 <dc:date>2005-10-25T17:08:04-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.6.2/">
 <title>Structures_DataGrid 0.6.2</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.6.2/</link>
 <content:encoded>Fixed unexpected parse error
 </content:encoded>
 <dc:date>2005-01-26T16:32:19-05:00</dc:date>
</item>
<item rdf:about="http://pear.php.net/package/Structures_DataGrid/download/0.6.0/">
 <title>Structures_DataGrid 0.6.0</title>
 <link>http://pear.php.net/package/Structures_DataGrid/download/0.6.0/</link>
 <content:encoded>Initial Beta Release - Beware of many changes to the core API&lt;br /&gt;
&lt;br /&gt;
********* Warning: You must now instantiate as a reference **********&lt;br /&gt;
 &lt;br /&gt;
Implemented new data source layer to handle data manipluation with many&lt;br /&gt;
different data source types such as DB_DataObject, CSV, XML, etc.&lt;br /&gt;
The DataGrid now handles the data fetching, so if you are using&lt;br /&gt;
DataObjects, all you need to do is bind to the dataobject with out&lt;br /&gt;
fetching, the DataGrid will take care of the rest.  Same with a DB_Result&lt;br /&gt;
object, just simply create the result object and bind it to the datagrid.&lt;br /&gt;
&lt;br /&gt;
New Features:&lt;br /&gt;
  Automatic GET/POST/Cookie handling for sorting and paging&lt;br /&gt;
  Renderers: XUL, CSV, Console Table&lt;br /&gt;
  DataSources: DB_Result, DB_DataObject, Array, CSV, XML, RSS&lt;br /&gt;
&lt;br /&gt;
Many Bugfixes included as well:&lt;br /&gt;
  Bug #2123: Allows to use db_dataobject extended classes&lt;br /&gt;
  Bug #2124: Implement formbuilder options from db_dataobject&lt;br /&gt;
  Bug #2125: Allow GET/POST/COOKIE varaibles for sorting to have prefixes&lt;br /&gt;
  Bug #2128: Better error handling for setRecord method&lt;br /&gt;
  Bug #2438: HTML Renderer better organized with render, toHTML, getTable&lt;br /&gt;
             methods.  Other renderers reflect similiar changes&lt;br /&gt;
  Bug #2499: Converted all ampersands to &amp;&lt;br /&gt;
  Bug #2501: Implemented a sorting icon indicatior for HTMLTable renderer
 </content:encoded>
 <dc:date>2004-12-21T15:20:03-05:00</dc:date>
</item>

</rdf:RDF>