<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 25 May 2013 15:53:46 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Robert Basic's Blog: MyUrl view helper for Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/11488</guid>
      <link>http://www.phpdeveloper.org/news/11488</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has <A href="http://robertbasic.com/blog/myurl-view-helper-for-zend-framework/">posted a view helper</a> for the Zend Framework he's developed - one to more correctly handle URLs without dropping the query string information.
</p>
<blockquote>
Zend Framework's built in URL view helper - Zend_View_Helper_Url - is discarding the query string of the URL, thus breaking some links.
</blockquote>
<p>
The included helper for URL building formats the output in a slightly unexpected way, so his helper uses this format and, with the help of a few loops and some string appending, spits a "more correct" version out the other side. Complete code and a usage example are <A href="http://robertbasic.com/blog/myurl-view-helper-for-zend-framework/">included</a>.
</p>]]></description>
      <pubDate>Tue, 02 Dec 2008 12:54:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Simplifying Zend_View_Helper_Url ]]></title>
      <guid>http://www.phpdeveloper.org/news/10594</guid>
      <link>http://www.phpdeveloper.org/news/10594</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has <a href="http://ishouldbecoding.com/2008/07/12/simplifying-zend_view_helper_url">posted a quick tutorial</a> where he aims to simplify some of the functionality that the Zend Framework's Zend_View_Helper_Url view helper has to offer.
</p>
<blockquote>
When I first began working with <a href="http://framework.zend.com/manual/en/zend.view.html">Zend_View</a> on a project at work, I noticed that the <a href="http://framework.zend.com/apidoc/core/Zend_View/Helper/Zend_View_Helper_Url.html">Url view helper</a> was a bit of a pain to use. It was rare that I didn't want to specify one or more of the action, controller, and module in my call along with the other <a href="http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.standard">Route assembly parameters</a>. 
</blockquote>
<p>
He wanted to be able to get around some limitations of the helper - use arrays to help label the calls more readable and to be able to refer to other actions in the same controller. He actually made another view helper, one that extends Zend_View_Helper_Url with a few optional parameters including the extra data he wanted in an array. You can see the code at the bottom of <a href="http://ishouldbecoding.com/2008/07/12/simplifying-zend_view_helper_url">his post</a> (he credits <a href="http://fishhead2567.wordpress.com/2008/07/08/extending-zend-url/">Andy Best</a> with development on the idea too).
</p>]]></description>
      <pubDate>Mon, 14 Jul 2008 08:48:18 -0500</pubDate>
    </item>
  </channel>
</rss>
