Re: Quickform rules & documentation

From: Date: Tue, 03 Jun 2003 18:09:53 +0000
Subject: Re: Quickform rules & documentation
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5767@lists.php.net to get a copy of this message
Hi! Mike Carter wrote:
Hi, Well it's a start on the docs I guess :-) I did notice that the elements "html" and "static" are not documented. I'm wanting to insert a block of text to explain the form elements which follow it - how is this done? If it is the html or static (what is the difference?) then what parameters are expected? 'static' elements are rendered in standard element template, 'html' is added to the form output as-is. 'static' elements can have names and labels, 'html' cannot. 'html' is only processed by Default renderer, all other renderers silently ignore it.
For the expected parameters consult the element's constructors. addElement()/createElement() accept the element type and then all the stuff that the element's constructor accepts.

« previous php.pear.general (#5767) next »