News Feed
Sections




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

Stefan Koopmanschap's Blog:
Adding a link to a form element with Zend Framework
August 12, 2008 @ 10:26:20

Stefan Koopmanschap had a problem - adding a link to a Zend Framework form (Zend_Form) built from an XML definition:

I was quickly told by the friendly people in #php_bnl on irc.freenode.net that I needed to use Decorators for that, so I went diving into the documentation. Reading the official documentation, I couldn't really get into how exactly the decorators worked and what I could do with them.

It was this article on the Zend Developer Zone that helped him the most, though. He explains his solution, defining the Decorator with a setDecorator method call, and includes the one-liner that made it work.

0 comments voice your opinion now!
zendframework zenform link problem xml link


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: The ABC's of PHP - Part 10 - The Final Installment (XML & Regex)

Zend Developer Zone: Announcing the April 2011 Zend Framework Bug-Hunt

DevShed: Parsing Child Nodes with the DOM XML extension in PHP 5

Matthew Weir O'Phinney's Blog: Zend_Form Webinar Wednesday

Matthew Weir O'Phinney's Blog: Zend Framework 1.5 is on its way!


Community Events

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


community extension php7 release opinion example xdebug library unittest podcast install api language laravel introduction framework series laravel5 voicesoftheelephpant interview

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