<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://fashion.hosmoz.net/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>Digital Fashion - Zend Framework Pagination, third strike  - Comments</title>
  <link>http://fashion.hosmoz.net/</link>
  <description>Rien de grand ne se fit jamais sans enthousiasme.</description>
  <language>en</language>
  <pubDate>Wed, 06 Aug 2008 10:15:15 +0200</pubDate>
  <copyright>2003-2007 &amp;copy; Geoffrey Bachelet</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
    
    <item>
    <title>Zend Framework Pagination, third strike - Geoffrey</title>
    <link>http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike#c7403</link>
    <guid isPermaLink="false">urn:md5:fc3b9a3dc274e17ea418479a661a5bb9</guid>
    <pubDate>Tue, 01 Jan 2008 14:35:07 +0100</pubDate>
    <dc:creator>Geoffrey</dc:creator>
    
    <description>&lt;p&gt;Hi brandon, there's no way atm to set the items per page property, I'm aware of this and this will be fixed in the next release, as well as the html syntax quirk you're pointing.&lt;/p&gt;


&lt;p&gt;thanks for your feedback&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Zend Framework Pagination, third strike - brandon</title>
    <link>http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike#c7392</link>
    <guid isPermaLink="false">urn:md5:5ea195b75ae5e23dce921c8c499060bb</guid>
    <pubDate>Fri, 28 Dec 2007 18:33:44 +0100</pubDate>
    <dc:creator>brandon</dc:creator>
    
    <description>&lt;p&gt;Great job on the pager.  One thing that i am not clear on however, is there a way to set the _itemsPerPage property in Riskle_Db_Table_Paginate class?&lt;/p&gt;


&lt;p&gt;I noticed also in the view helper that there was a syntax error in the default html.  you start with a &amp;lt;p&amp;gt; but end with a &amp;lt;/li&amp;gt; for the previous and next functions.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Zend Framework Pagination, third strike - jude</title>
    <link>http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike#c7358</link>
    <guid isPermaLink="false">urn:md5:ef1900d9f35eecd5d47352de41e6aa7b</guid>
    <pubDate>Sun, 16 Dec 2007 22:37:33 +0100</pubDate>
    <dc:creator>jude</dc:creator>
    
    <description>&lt;p&gt;i am a newbie. where do i place the library files?&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Zend Framework Pagination, third strike - Erik</title>
    <link>http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike#c6908</link>
    <guid isPermaLink="false">urn:md5:6bd83d160fa7dd23533a4bfb03798444</guid>
    <pubDate>Mon, 24 Sep 2007 14:45:25 +0200</pubDate>
    <dc:creator>Erik</dc:creator>
    
    <description>&lt;p&gt;As far as I know the problem stems from a MySQL limitation, not supporting FULL OUTER JOIN. I've seen some hacks that use UNIONs to get the desired result but I'm not sure how well it would translate to the framework and unfortunately don't have the time to investigate right now. If I get some free time and find a better method I'll post it. :-)&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Zend Framework Pagination, third strike - Geoffrey</title>
    <link>http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike#c6905</link>
    <guid isPermaLink="false">urn:md5:8552ef1f5f9af3d336e916cc283b6fb0</guid>
    <pubDate>Mon, 24 Sep 2007 11:18:59 +0200</pubDate>
    <dc:creator>Geoffrey</dc:creator>
    
    <description>&lt;p&gt;Once again thanks for the patch :-) While I not found this a very clean way of doing things, it'll do the job for the moment as I can't think (did not take the time to think actually) of another way to fix the problem.&lt;/p&gt;


&lt;p&gt;Concerning the _fetch thing, I can't believe I did not think of it earlier. Patching at the lower level seems the way to go.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Zend Framework Pagination, third strike - Rumeurs</title>
    <link>http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike#c6903</link>
    <guid isPermaLink="false">urn:md5:63bb78614c532baf265be0dcd8e08de7</guid>
    <pubDate>Mon, 24 Sep 2007 09:12:01 +0200</pubDate>
    <dc:creator>Rumeurs</dc:creator>
    
    <description>&lt;p&gt;tu composes tes articles àune heure ben tardive ! :)&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Zend Framework Pagination, third strike - Erik</title>
    <link>http://fashion.hosmoz.net/post/2007/09/23/Zend-Framework-Pagination-third-strike#c6892</link>
    <guid isPermaLink="false">urn:md5:ca3d65fee21ef77c794cfd18923fff56</guid>
    <pubDate>Sun, 23 Sep 2007 11:18:27 +0200</pubDate>
    <dc:creator>Erik</dc:creator>
    
    <description>&lt;p&gt;Once again thanks for the code. I think you mean previous() instead of prev() though.&lt;/p&gt;


&lt;p&gt;Another small fix, if you have 2 tables that don’t completely map together (ex: you have a log table that maps it’s user id to a user table, if one of the user ids doesn’t exist the log row will get ignored) the fetchAll will return the filtered rows and the fetchCount will return them all (in my case fetchAll returned 260 and fetchCount returned 262, so I had 1 extra page that had no entries)&lt;/p&gt;


&lt;p&gt;To fix it you just need to apply the parent mapping to fetchCount, I had to also add a variable to _applyParentMap so it didn’t try to select the mapped fields when selecting the count.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://code.ryvondesigns.com/riskle/Table_ParentMap_Fix.html&quot; title=&quot;http://code.ryvondesigns.com/riskle/Table_ParentMap_Fix.html&quot; rel=&quot;nofollow&quot;&gt;http://code.ryvondesigns.com/riskle...&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://code.ryvondesigns.com/riskle/Table_ParentMap_Fix.diff&quot; title=&quot;http://code.ryvondesigns.com/riskle/Table_ParentMap_Fix.diff&quot; rel=&quot;nofollow&quot;&gt;http://code.ryvondesigns.com/riskle...&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Also, while I was attempting to fix this I might’ve stumbled upon an easier way to apply the parent map to fetchRow and fetchAll. First I removed fetchAll , fetchRow, and _makeRowset. Then I added a copy of Zend_Db_Table_Abstract’s _fetch method with _applyParentMap inside it. It seemed to work fine in my tests, I didn’t include it in the patch since I haven’t tested it much but you might want to look at it sometime.&lt;/p&gt;</description>
  </item>
      
</channel>
</rss>