-- Waigani <[EMAIL PROTECTED]> wrote
(on Tuesday, 29 April 2008, 03:30 PM -0700):
> thanks, can you change the type of an element after it has been added?

No, but you can call addElement() with a new element of the same name,
and it will overwrite it.


> Matthew Weier O'Phinney-3 wrote:
> > 
> > -- Waigani <[EMAIL PROTECTED]> wrote
> > (on Tuesday, 29 April 2008, 12:40 AM -0700):
> >> Is there a way to add and remove a decorator for all the elements of a
> >> form, not one at a time?
> > 
> > No. You have to loop through the elements and sub forms to do this.
> > 
> > However... you could also call setElementDecorators() with a revised
> > list of decorators, which would achieve something similar.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to