Top Level :: HTML

Package Information: HTML_Common2

Show All Changelogs
» Version » Information
2.0.0beta1Download

Release date: 2007-05-04 10:09 UTC
Release state: beta

Changelog:

* Use phpunit/PHPUnit rather than pear/PHPUnit2 for unit testing needs
* "Fluent interfaces": all methods that didn't return anything now
return $this. The following methods are affected: mergeAttributes(),
removeAttribute(), setAttribute(), setAttributes(), setComment() and
setIndentLevel().

Dependencies:
  • PHP Version: PHP 5.1.4 or newer
  • PEAR Package: PEAR Installer 1.4.0 or newer
0.3.0Download

Release date: 2006-10-16 13:09 UTC
Release state: alpha

Changelog:

Radical changes to API are not expected after this release, you may use the
package for development.

Changes:
* Renamed 'encoding' option to 'charset', as htmlspecialchars() parameter is named
* Removed toHtml() and display() methods, __toString() is now declared abstract
* Attribute values are always converted to strings
* Minor performance tweaks
* Switched to BSD license and package.xml 2.0

Dependencies:
  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.0 or newer
0.2.0Download

Release date: 2006-07-03 18:51 UTC
Release state: devel

Changelog:

* $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)

Dependencies:
  • PHP Version: PHP 5.0.0 or newer
0.1.0Download

Release date: 2004-10-27 09:38 UTC
Release state: devel

Changelog:

First release of a new major version.

Dependencies:
  • PHP Version: PHP 5.0.0 or newer