[ANNOUNCEMENT] HTML_Form-1.1.0RC1 (beta) Released.
| From: | PEAR Announce | Date: | Mon, 14 Jun 2004 04:07:56 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_Form-1.1.0RC1 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13135@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_Form-1.1.0RC1 (beta) has been released at http://pear.php.net/.
Release notes
-------------
* Don't pass $this->action through basename() in
returnStart() or start(). Bug #658.
* Make notes in the docblock comments regarding
methods with unusual parameter orders. Bug #659.
* addImage() now works. Accomplished by adding
displayImage(), displayImageRow(), returnImageRow()
and returnImage() methods. Bug #1126.
* Have returnStart() put $this->target into the
<form> element's attributes. PHP Bug #24017. (nicos)
* Remove reference on $default in
displayTextareaRow(). PHP Bug #22062. (mj)
* Add docblock comments.
* Add new methods: returnRadio(), returnRadioRow()
and returnFileRow().
* $maxlength parameter added to returnText(),
returnTextRow(), returnPassword(), returnPasswordRow(),
returnTextarea() and returnTextareaRow() for
consistency with display*() methods' parameters.
* Add $maxlength to addPassword(), displayPassword(),
and displayPasswordRow().
* $accept parameter added to returnMultipleFiles()
and returnFile() for consistency with addFile().
* Add $attr parameter to most methods.
* valign="top" added to <td> in returnPlaintextRow()
for consistency with displayPlaintextRow().
* displayFile() and displayMultipleFiles() now
produce a separate hidden input for MAX_FILE_SIZE.
* returnCheckbox() now does a type sensitive
comparison on $default to determine if checked.
* ":" now appears in each $title.
* Add the $thattr and $tdattr parameters.
* Use <th> instead of <td> for empty cell in returnSubmitRow()
and returnResetRow(), matching layout of other methods.
* Ease maintenance by having all display*() methods
just print the results of the return*() methods.
* $default parameter to addCheckbox() now defaults
to FALSE.
* $default parameter to addTextarea() and
addPassword() now defaults an empty string.
* Define the constants used by addTextarea():
HTML_FORM_TEXTAREA_WT and HTML_FORM_TEXTAREA_HT.
* Add "$multipartformdata = false" parameter to
start() for compatibility with returnStart().
* Have returnStart() put $this->enctype and
$this->target into the <form> element's attributes.
* register_long_arrays can now be Off.
* Change checked to checked="checked".
* Clean up nesting/indenting of HTML output.
* Change while/list/each to foreach in
returnSelect() and returnEnd().
* Remove references from $entries parameter to
returnSelectRow() and displaySelectRow().
* returnEnd() no longer populates _fields
for addBlank() items.
* Fix $defined variable values in display():
reset: 0 should have been 1
submit: 0 should have been 2
blank: 0 should have been 1
radio: 3 should have been 1
select: 4 should have been 5
* Added tests.
Package Info
-------------
This is a simple HTML form generator. It supports all the
HTML form element types including file uploads, may return
or print the form, just individual form elements or the full
form in "table mode" with a fixed layout.
This package has been superceded by HTML_QuickForm.
Related Links
-------------
Package home: http://pear.php.net/package/HTML_Form
Changelog: http://pear.php.net/package-changelog.php?package=HTML_Form
Download: http://pear.php.net/get/HTML_Form-1.1.0RC1.tgz
Authors
-------------
Stig Bakken <stig@php.net> (lead)
Daniel Convissor (lead)