Re: Quickform textarea formatting
| From: | Bertrand Mansion | Date: | Thu, 13 Feb 2003 15:49:31 +0000 |
| Subject: | Re: Quickform textarea formatting | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3748@lists.php.net to get a copy of this message | ||
le 13/02/03 16:45, Dan Wilson à dan@acucore.com a écrit :
> Can we add a getElementTemplate function? That way, I can pull back the
> current value, manipulate it and then set it with setElementTemplate. I know
> I can get to this through the actual variable _elementTemplate, but that's not
> good OOP, and it might not be supported in PHP5.
Sure, we can add that. I don't really see what you want to do with it.
Can't you just use $form->setElementTemplate(with nowrap, 'myElement'); and
do your manipulation in your code.
> PS. I sent you an email a few months or so ago that included some code to
> allow for default attributes for given types. I never got a response. Did
> you not get that?
I don't remember receiving it, it might have been blocked by my server.
Could you please post it again. TIA
Bertrand Mansion
Mamasam