<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Structures_DataGrid</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/19841" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18259" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17102" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15435" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14452" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14269" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12885" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/19841">
      <title>Structures_DataGrid: Bug 19841 [Open] Deprecated uses of pass-by-reference everywhere</title>
      <link>http://pear.php.net/bugs/19841</link>
      <content:encoded><![CDATA[<pre>Structures_DataGrid Bug
Reported by atippett
2013-03-05T00:10:46+00:00
PHP: 5.3.13 OS: Debian Package Version: 

Description:
------------
Here's on specifically: 

Call-time pass-by-reference has been deprecated
#10 
/usr/local/Cellar/php53/5.3.20/lib/php/Spreadsheet/Excel/Writer/
Worksheet.php:2490


Please make change all  calling of methods, functions and 
initialization of objects don't use a reference &quot;&amp;&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Structures_DataGrid Bug
Reported by atippett
2013-03-05T00:10:46+00:00
PHP: 5.3.13 OS: Debian Package Version: 

Description:
------------
Here's on specifically: 

Call-time pass-by-reference has been deprecated
#10 
/usr/local/Cellar/php53/5.3.20/lib/php/Spreadsheet/Excel/Writer/
Worksheet.php:2490


Please make change all  calling of methods, functions and 
initialization of objects don't use a reference &quot;&amp;&quot;</pre>]]></description>
      <dc:date>2013-03-05T00:10:46+00:00</dc:date>
      <dc:creator>atippett &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Structures_DataGrid Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18259">
      <title>Structures_DataGrid: Bug 18259 [Open] sorting not working</title>
      <link>http://pear.php.net/bugs/18259</link>
      <content:encoded><![CDATA[<pre>Structures_DataGrid Bug
Reported by aversag
2011-02-10T16:40:46+00:00
PHP: 5.3.5 OS: debian squeeze Package Version: 0.9.1dev1

Description:
------------
( ! ) Warning: Parameter 1 to array_multisort() expected to be a reference, value given in /usr/share/php/Structures/DataGrid/DataSource/Array.php on line 228

Test script:
---------------
// include class
include_once 'Structures/DataGrid.php';

// create new datagrid
$dg = new Structures_DataGrid();

// SpÃ©cifie comment la grille de donnÃ©es doit Ãªtre triÃ©e par dÃ©faut.
$dg-&gt;setDefaultSort(array('name' =&gt; 'ASC'));

// bind datagrid using array driver
$dg-&gt;bind($DATA, array(), 'Array');

// render datagrid as HTML table
$dg-&gt;render();

Expected result:
----------------
I was expecting to get the HTML table sorted by row &quot;name&quot; but it wasn't. Datas are showed like they are sorted in the array data

Actual result:
--------------
the sorting can't be applyed because of the array_multisort warning</pre>]]></content:encoded>
      <description><![CDATA[<pre>Structures_DataGrid Bug
Reported by aversag
2011-02-10T16:40:46+00:00
PHP: 5.3.5 OS: debian squeeze Package Version: 0.9.1dev1

Description:
------------
( ! ) Warning: Parameter 1 to array_multisort() expected to be a reference, value given in /usr/share/php/Structures/DataGrid/DataSource/Array.php on line 228

Test script:
---------------
// include class
include_once 'Structures/DataGrid.php';

// create new datagrid
$dg = new Structures_DataGrid();

// SpÃ©cifie comment la grille de donnÃ©es doit Ãªtre triÃ©e par dÃ©faut.
$dg-&gt;setDefaultSort(array('name' =&gt; 'ASC'));

// bind datagrid using array driver
$dg-&gt;bind($DATA, array(), 'Array');

// render datagrid as HTML table
$dg-&gt;render();

Expected result:
----------------
I was expecting to get the HTML table sorted by row &quot;name&quot; but it wasn't. Datas are showed like they are sorted in the array data

Actual result:
--------------
the sorting can't be applyed because of the array_multisort warning</pre>]]></description>
      <dc:date>2011-12-26T23:15:38+00:00</dc:date>
      <dc:creator>gaversa &amp;#x61;&amp;#116; stsweb &amp;#x64;&amp;#111;&amp;#x74; fr</dc:creator>
      <dc:subject>Structures_DataGrid Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17102">
      <title>Structures_DataGrid: Bug 17102 [Open] Unit tests broken in SVN</title>
      <link>http://pear.php.net/bugs/17102</link>
      <content:encoded><![CDATA[<pre>Structures_DataGrid Bug
Reported by doconnor
2010-02-14T08:05:46+00:00
PHP: 5.3.1 OS:  Package Version: CVS

Description:
------------
If the test can't run, they should markTestSkipped.

clockwerx@clockwerx-desktop:/media/disk/pear/packages-all/Structures_DataGrid$ php tests/AllTests.php 

Fatal error: Call to undefined method MDB2_Error::quoteIdentifier() in /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource/MDB2.php on line 195





Actual result:
--------------
clockwerx@clockwerx-desktop:/media/disk/pear/packages-all/Structures_DataGrid$ php tests/AllTests.php 

Fatal error: Call to undefined method MDB2_Error::quoteIdentifier() in /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource/MDB2.php on line 195

Call Stack:
    0.0018      72084   1. {main}() /media/disk/pear/packages-all/Structures_DataGrid/tests/AllTests.php:0
    0.0526    1629304   2. AllTests::main() /media/disk/pear/packages-all/Structures_DataGrid/tests/AllTests.php:92
    0.1138    3563272   3. PHPUnit::run() /media/disk/pear/packages-all/Structures_DataGrid/tests/AllTests.php:71
    0.1138    3564068   4. PHPUnit_TestSuite-&gt;run() /usr/share/php/PHPUnit.php:119
    0.4782    4421992   5. PHPUnit_TestCase-&gt;run() /usr/share/php/PHPUnit/TestSuite.php:184
    0.4782    4422204   6. PHPUnit_TestResult-&gt;run() /usr/share/php/PHPUnit/TestCase.php:170
    0.4783    4422308   7. PHPUnit_TestCase-&gt;runBare() /usr/share/php/PHPUnit/TestResult.php:246
    0.5092    5226440   8. PHPUnit_TestCase-&gt;runTest() /usr/share/php/PHPUnit/TestCase.php:182
    0.5093    5226864   9. call_user_func() /usr/share/php/PHPUnit/TestCase.php:198
    0.5093    5227108  10. DataSourceSQLTestCore-&gt;testWhere() /usr/share/php/PHPUnit/TestCase.php:0
    0.5117    5266112  11. Structures_DataGrid_DataSource_SQLQuery-&gt;fetch() /media/disk/pear/packages-all/Structures_DataGrid/tests/DataSourceSQLTestCore.php:87
    0.5118    5267288  12. array_map() /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource.php:588
    0.5118    5267996  13. Structures_DataGrid_DataSource_MDB2-&gt;_quoteIdentifier() /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource/MDB2.php:0</pre>]]></content:encoded>
      <description><![CDATA[<pre>Structures_DataGrid Bug
Reported by doconnor
2010-02-14T08:05:46+00:00
PHP: 5.3.1 OS:  Package Version: CVS

Description:
------------
If the test can't run, they should markTestSkipped.

clockwerx@clockwerx-desktop:/media/disk/pear/packages-all/Structures_DataGrid$ php tests/AllTests.php 

Fatal error: Call to undefined method MDB2_Error::quoteIdentifier() in /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource/MDB2.php on line 195





Actual result:
--------------
clockwerx@clockwerx-desktop:/media/disk/pear/packages-all/Structures_DataGrid$ php tests/AllTests.php 

Fatal error: Call to undefined method MDB2_Error::quoteIdentifier() in /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource/MDB2.php on line 195

Call Stack:
    0.0018      72084   1. {main}() /media/disk/pear/packages-all/Structures_DataGrid/tests/AllTests.php:0
    0.0526    1629304   2. AllTests::main() /media/disk/pear/packages-all/Structures_DataGrid/tests/AllTests.php:92
    0.1138    3563272   3. PHPUnit::run() /media/disk/pear/packages-all/Structures_DataGrid/tests/AllTests.php:71
    0.1138    3564068   4. PHPUnit_TestSuite-&gt;run() /usr/share/php/PHPUnit.php:119
    0.4782    4421992   5. PHPUnit_TestCase-&gt;run() /usr/share/php/PHPUnit/TestSuite.php:184
    0.4782    4422204   6. PHPUnit_TestResult-&gt;run() /usr/share/php/PHPUnit/TestCase.php:170
    0.4783    4422308   7. PHPUnit_TestCase-&gt;runBare() /usr/share/php/PHPUnit/TestResult.php:246
    0.5092    5226440   8. PHPUnit_TestCase-&gt;runTest() /usr/share/php/PHPUnit/TestCase.php:182
    0.5093    5226864   9. call_user_func() /usr/share/php/PHPUnit/TestCase.php:198
    0.5093    5227108  10. DataSourceSQLTestCore-&gt;testWhere() /usr/share/php/PHPUnit/TestCase.php:0
    0.5117    5266112  11. Structures_DataGrid_DataSource_SQLQuery-&gt;fetch() /media/disk/pear/packages-all/Structures_DataGrid/tests/DataSourceSQLTestCore.php:87
    0.5118    5267288  12. array_map() /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource.php:588
    0.5118    5267996  13. Structures_DataGrid_DataSource_MDB2-&gt;_quoteIdentifier() /media/disk/pear/packages-all/Structures_DataGrid/Structures/DataGrid/DataSource/MDB2.php:0</pre>]]></description>
      <dc:date>2011-12-26T23:08:02+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Structures_DataGrid Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15435">
      <title>Structures_DataGrid: Feature/Change Request 15435 [Open] Add method SetRequestSuffix()</title>
      <link>http://pear.php.net/bugs/15435</link>
      <content:encoded><![CDATA[<pre>Structures_DataGrid Feature/Change Request
Reported by mpgjunky
2008-12-29T07:53:53+00:00
PHP: 5.1.6 OS: Fedora 6 Package Version: 0.9.0

Description:
------------
I am using jQuery + jQuery Tabs to display 2 grids on the same page, one grid per tab. I need to make sure each grid is using different request variables, both in paging and column headers.

I am trying to add an anchor &quot;#t_all&quot; at the end of the request queries but I can't find any means of achieving this.

The request should look like:

Tickets.php?annon_orderBy=adate&amp;annon_direction=ASC&amp;annon_page=7#t_all

I've tried using 'extraVars' option but that doesn't work since it's an array, and all attempts result in 0=#t_all or similar variations.

Having a simple SetRequestSuffix(string) method would solve the problem, unless there's a different way that I have missed.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Structures_DataGrid Feature/Change Request
Reported by mpgjunky
2008-12-29T07:53:53+00:00
PHP: 5.1.6 OS: Fedora 6 Package Version: 0.9.0

Description:
------------
I am using jQuery + jQuery Tabs to display 2 grids on the same page, one grid per tab. I need to make sure each grid is using different request variables, both in paging and column headers.

I am trying to add an anchor &quot;#t_all&quot; at the end of the request queries but I can't find any means of achieving this.

The request should look like:

Tickets.php?annon_orderBy=adate&amp;annon_direction=ASC&amp;annon_page=7#t_all

I've tried using 'extraVars' option but that doesn't work since it's an array, and all attempts result in 0=#t_all or similar variations.

Having a simple SetRequestSuffix(string) method would solve the problem, unless there's a different way that I have missed.</pre>]]></description>
      <dc:date>2008-12-29T07:53:53+00:00</dc:date>
      <dc:creator>michael &amp;#x61;&amp;#116; stellarent &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Structures_DataGrid Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14452">
      <title>Structures_DataGrid: Feature/Change Request 14452 [Open] RowFormtter Callback</title>
      <link>http://pear.php.net/bugs/14452</link>
      <content:encoded><![CDATA[<pre>Structures_DataGrid Feature/Change Request
Reported by mpgjunky
2008-08-04T10:51:56+00:00
PHP: 5.1.6 OS: Fedora 6 Package Version: 0.9.0

Description:
------------
A RowFormatter callback would be nice, identical to the Column formatter callback would be very useful. The RowFormatter should expose the recordset element to allow conditional formatting.

For example, setting different Table Row classes or styles depending on field values.

At present I have not found a clever / integrated method other than iterating through the recordset after a datagrid fill, but this is not very elegant or integrated.

Thanks,
Michael.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Structures_DataGrid Feature/Change Request
Reported by mpgjunky
2008-08-04T10:51:56+00:00
PHP: 5.1.6 OS: Fedora 6 Package Version: 0.9.0

Description:
------------
A RowFormatter callback would be nice, identical to the Column formatter callback would be very useful. The RowFormatter should expose the recordset element to allow conditional formatting.

For example, setting different Table Row classes or styles depending on field values.

At present I have not found a clever / integrated method other than iterating through the recordset after a datagrid fill, but this is not very elegant or integrated.

Thanks,
Michael.</pre>]]></description>
      <dc:date>2008-08-04T10:51:56+00:00</dc:date>
      <dc:creator>michael &amp;#x61;&amp;#116; stellarent &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Structures_DataGrid Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14269">
      <title>Structures_DataGrid: Feature/Change Request 14269 [Open] Optimize subquery detection</title>
      <link>http://pear.php.net/bugs/14269</link>
      <content:encoded><![CDATA[<pre>Structures_DataGrid Feature/Change Request
Reported by wiesemann
2008-06-30T19:52:31+00:00
PHP: Irrelevant OS: Irrelevant Package Version: CVS

Description:
------------
User request: Change the regexp in the count() method of the SDG_DS_SQLQuery class so that only subqueries after the (first) FROM clause will be matched. Only such subqueries should affect the row count. (Needs to be verified, but the user and I can't think of any problematic case.) Advantage: Less queries that require the 'count_query' option or a query execution without a LIMIT clause.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Structures_DataGrid Feature/Change Request
Reported by wiesemann
2008-06-30T19:52:31+00:00
PHP: Irrelevant OS: Irrelevant Package Version: CVS

Description:
------------
User request: Change the regexp in the count() method of the SDG_DS_SQLQuery class so that only subqueries after the (first) FROM clause will be matched. Only such subqueries should affect the row count. (Needs to be verified, but the user and I can't think of any problematic case.) Advantage: Less queries that require the 'count_query' option or a query execution without a LIMIT clause.</pre>]]></description>
      <dc:date>2008-06-30T19:52:31+00:00</dc:date>
      <dc:creator>wiesemann &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Structures_DataGrid Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12885">
      <title>Structures_DataGrid: Documentation Problem 12885 [Open] ordre des parametres inversÃ©</title>
      <link>http://pear.php.net/bugs/12885</link>
      <content:encoded><![CDATA[<pre>Structures_DataGrid Documentation Problem
Reported by plabrie
2008-01-11T22:46:19+00:00
PHP: 5.1.6 OS: Windows ou Fedora 5 Package Version: 0.9.0

Description:
------------
Le Datagrid avec une colonne ajoutÃ©e lorsque rendu en XML: le libellÃ© du tag XML porte le nom du parametre OrderBy plutot que celui du Field si le parametre  OrderBy est utilisÃ©. J'ai fait afficher ces mots pour retrouver l'ordre. Ce serait OrderBy qui semble Ãªtre utilisÃ© du moins dans le XML. Si on mets null pour OrderBy c'est le nom du Field qui apparait correctement alors dans le tag XML

Cela fonctionne bien tout de mÃªme mais c'est embÃªtant.

Structures_DataGrid_Renderer_XML-0.1.3
XML_Util-1.1.4

FÃ©licitations pour l'ensemble du Datagrid! Je dÃ©veloppe aussi en asp.Net et le dataGrid de PEAR est aussi performant.

Test script:
---------------
 $datagrid-&gt;addColumn(new Structures_DataGrid_Column('Label', 'Field', 'OrderBy', null, null, 'AfficherRole()'),'after','Region');	 

function AfficherRole($params)
{
   extract($params);
    return trim($record['Info']).$fieldName.$columnName.$orderBy;
}


Expected result:
----------------
&lt;Field&gt;
Mercredi : 9 h Ã  12 h, 13 h Ã  16 h 30 FieldLabelOrderBy
&lt;/Field&gt;

Actual result:
--------------
&lt;OrderBy&gt;
Mercredi : 9 h Ã  12 h, 13 h Ã  16 h 30 FieldLabelOrderBy
&lt;/OrderBy&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Structures_DataGrid Documentation Problem
Reported by plabrie
2008-01-11T22:46:19+00:00
PHP: 5.1.6 OS: Windows ou Fedora 5 Package Version: 0.9.0

Description:
------------
Le Datagrid avec une colonne ajoutÃ©e lorsque rendu en XML: le libellÃ© du tag XML porte le nom du parametre OrderBy plutot que celui du Field si le parametre  OrderBy est utilisÃ©. J'ai fait afficher ces mots pour retrouver l'ordre. Ce serait OrderBy qui semble Ãªtre utilisÃ© du moins dans le XML. Si on mets null pour OrderBy c'est le nom du Field qui apparait correctement alors dans le tag XML

Cela fonctionne bien tout de mÃªme mais c'est embÃªtant.

Structures_DataGrid_Renderer_XML-0.1.3
XML_Util-1.1.4

FÃ©licitations pour l'ensemble du Datagrid! Je dÃ©veloppe aussi en asp.Net et le dataGrid de PEAR est aussi performant.

Test script:
---------------
 $datagrid-&gt;addColumn(new Structures_DataGrid_Column('Label', 'Field', 'OrderBy', null, null, 'AfficherRole()'),'after','Region');	 

function AfficherRole($params)
{
   extract($params);
    return trim($record['Info']).$fieldName.$columnName.$orderBy;
}


Expected result:
----------------
&lt;Field&gt;
Mercredi : 9 h Ã  12 h, 13 h Ã  16 h 30 FieldLabelOrderBy
&lt;/Field&gt;

Actual result:
--------------
&lt;OrderBy&gt;
Mercredi : 9 h Ã  12 h, 13 h Ã  16 h 30 FieldLabelOrderBy
&lt;/OrderBy&gt;</pre>]]></description>
      <dc:date>2008-01-16T16:57:15+00:00</dc:date>
      <dc:creator>pierre &amp;#x64;&amp;#111;&amp;#x74; labrie &amp;#x61;&amp;#116; servicesquebec &amp;#x64;&amp;#111;&amp;#x74; gouv &amp;#x64;&amp;#111;&amp;#x74; qc &amp;#x64;&amp;#111;&amp;#x74; ca</dc:creator>
      <dc:subject>Structures_DataGrid Documentation Problem</dc:subject>
    </item>
</rdf:RDF>
