Re: Re: [PEAR] To cover all the elements of a HTML_QuickForm
| From: | Adriano de Oliveira Gonçalves | Date: | Fri, 13 May 2005 03:13:30 +0000 |
| Subject: | Re: Re: [PEAR] To cover all the elements of a HTML_QuickForm | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19191@lists.php.net to get a copy of this message | ||
Hmmm... But in this case, I would only be crashing the concept of "private"
of the property, alright?... :-)
Thanks!
Adriano
----- Original Message -----
From: "Justin Patrin" <papercrane@gmail.com>
To: "Adriano Gonçalves" <adriano_ss@yahoo.com.br>
Cc: "PEAR general list" <pear-general@lists.php.net>
Sent: Thursday, May 12, 2005 5:40 PM
Subject: [spam] Re: [PEAR] To cover all the elements of a HTML_QuickForm
On 5/12/05, Adriano Gonçalves <adriano_ss@yahoo.com.br> wrote:
> What I would like is to extract a list of all the
> elements of a HTML_QuickForm (inputs, selects, etc.).
> It could be through an Array or something seemed.
> What I need is a way of, not knowing the names of
> form's elements, access them all, one by one.
> It was more clearly now?... :-)
>
Yes, but you should be replying to the list, not just to me.
There is no way to get this information from the public API of
QuickForm currently. I'm not sure why. If you need this, you'll have
to use $form->_elements.
>
> --- Justin Patrin <papercrane@gmail.com> escreveu:
> > On 5/11/05, Adriano de Oliveira Gonçalves
> > <adriano.php@globo.com> wrote:
> > > Hello!
> > > I would like to know as I can make to cover all
> > the elements of a HTML_QuickForm...
> > >
> >
> > This is not an intelligible question. Please
> > re-state it with more
> > explanation. Give examples if you can.
> >
> > --
> > Justin Patrin
> >
> >
--
Justin Patrin