[ANNOUNCEMENT] HTML_Common2-0.2.0 (devel) Released.
| From: | PEAR Announce | Date: | Mon, 03 Jul 2006 18:51:12 +0000 |
| Subject: | [ANNOUNCEMENT] HTML_Common2-0.2.0 (devel) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24547@lists.php.net to get a copy of this message | ||
The new PEAR package HTML_Common2-0.2.0 (devel) has been released at http://pear.php.net/.
Release notes
-------------
* $attributes array is now protected rather than private (and thus renamed
from $_attributes)
* parseAttributes() was renamed to prepareAttributes(), string parsing logic
was extracted into the new parseAttributes() method
* Added magic __toString() method as an alias for toHtml(), deprecated
display(): it is now possible to print an instance of HTML_Common2 subclass
by simply using the 'echo $object;'
* It is now possible to watch some attributes for changes, this can be used to
- Make attributes read-only (like 'type' attribute of <input /> tag)
- Do some custom processing (update the element's value if its name changes)
Package Info
-------------
The HTML_Common2 package provides methods for HTML code display and attributes handling.
* Methods to set, remove, update html attributes.
* Handles comments in HTML code.
* Handles global document options (encoding, linebreak and indentation characters).
* Handles indentation for nicer HTML code.
Related Links
-------------
Package home: http://pear.php.net/package/HTML_Common2
Changelog: http://pear.php.net/package/HTML_Common2/download/0.2.0
Download: http://pear.php.net/get/HTML_Common2-0.2.0.tgz
Authors
-------------
Alexey Borzov (lead)
Klaus Guenther <klaus@capitalfocus.org> (lead)