The PEAR::HTML_Common package provides methods for HTML code display and
attributes handling.
* Methods to set, remove, update HTML attributes.
* Handles comments in HTML code.
* Handles layout and tabs for nicer HTML code.
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.
Provides two classes:
HTML_Javascript for performing basic JS operations.
HTML_Javascript_Convert for converting variables.
Allow output data to a file, to the standard output(print), or return.
The PEAR::HTML_Page2 package provides a simple interface for generating an
XHTML compliant page:
* supports virtually all HTML doctypes, from HTML 2.0 through XHTML 1.1 and
XHTML Basic 1.0 plus preliminary support for XHTML 2.0
* namespace support
* global language declaration for the document
* line ending styles
* full META tag support
* support for stylesheet declaration in the head section
* support for script declaration in the head section
* support for linked stylesheets and scripts
* full support for header link tags
* body can be a string, object with toHtml or toString methods or an array
(can be combined)
Ideas for use:
* Use to validate the output of a class for XHTML compliance
* Quick prototyping using PEAR packages is now a breeze.
The HTML_QuickForm package provides methods for dynamically create, validate
and render HTML forms.
Features:
* More than 20 ready-to-use form elements.
* XHTML compliant generated code.
* Numerous mixable and extendable validation rules.
* Automatic server-side validation and filtering.
* On request javascript code generation for client-side validation.
* File uploads support.
* Total customization of form rendering.
* Support for external template engines (ITX, Sigma, Flexy, Smarty).
* Pluggable elements, rules and renderers extensions.
This package is expected to offer at least the same functionality as
HTML_QuickForm and work with PHP5 E_STRICT setting.
The PEAR::HTML_Select package is a class for generating HTML form select
elements.
Engine for performing and rendering text diffs.
A singly-linked list offers the ability to insert or delete
nodes at any point within the list. A doubly-linked list also offers the
ability to request previous nodes in the list.
The PEAR::HTML_Table package provides methods for easy and efficient
design of HTML tables.
* Lots of customization options.
* Tables can be modified at any time.
* The logic is the same as standard HTML editors.
* Handles col and rowspans.
* PHP code is shorter, easier to read and to maintain.
* Tables options can be reused.