News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Robert Basic's Blog:
MyUrl view helper for Zend Framework
December 02, 2008 @ 12:54:32

Robert Basic has posted a view helper for the Zend Framework he's developed - one to more correctly handle URLs without dropping the query string information.

Zend Framework's built in URL view helper - Zend_View_Helper_Url - is discarding the query string of the URL, thus breaking some links.

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 included.

0 comments voice your opinion now!
url helper zendframework myurl zendviewhelperurl view


blog comments powered by Disqus

Similar Posts

Andries Seutens' Blog: Zend Framework, just get me started, okay?

Stefan Koopmanschap's Blog: Don't make them compete, make them work together!

Chris Renner's Blog: Gerrymandered Code: Extending Zend_Registry to globalize session vars

MaltBlue.com: Hot to Use the Zend Form ViewScript Decorator in All Modules

Community News: Zend Furthers Collaborations with Adobe, IBM and Dojo


Community Events





Don't see your event here?
Let us know!


release api series community install list extension unittest interview voicesoftheelephpant conference symfony introduction podcast opinion laravel configure version composer language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework