-- Borje <[EMAIL PROTECTED]> wrote
(on Thursday, 24 April 2008, 01:49 AM -0700):
>
> I hate to bump this but I fear my previous question wasn't noticed. How do I
> add option to the <td> that surrounds the labels? I can do it round the
> normal elements like this:
> array('decorator' => array('td' => 'HtmlTag'), 'options' => array('tag' =>
> 'td', 'id' => 'element'))
> But I haven't been able to get it to work for the <td> that surrounds the
> label.
You can't with the standard Label decorator; options for the label
decorator are used for rendering the label element, and not the tag
surrounding it. If you need such behavior, extend the Label decorator to
provide it.
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/