PEAR::HTML_CSS provides a simple interface for generating
a stylesheet declaration. It is completely standards compliant, and
has some great features:
* Simple OO interface to CSS definitions
* Output to
- Inline stylesheet declarations
- Document internal stylesheet declarations
- Standalone stylesheet declarations
- Array of definitions
In addition, it shares the following with HTML_Common based classes:
* Indent style support
* Line ending style
This is a parser to replace UBB style tags with their html equivalents.
It does not simply do some regex calls, but is complete stack based
parse engine. This ensures that all tags are properly nested, if not,
extra tags are added to maintain the nesting. This parser should only
produce xhtml 1.0 compliant code. All tags are validated and so are all
their attributes. It should be easy to extend this parser with your own
tags.
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.
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.