This package allows reading and writing of OLE (Object Linking and Embedding)
files, the format used as container for Excel, Word and other MS file formats.
The Event_Dispatcher acts as a notification dispatch table.
It is used to notify other objects of interesting things. This
information is encapsulated in Event_Notification objects. Client
objects register themselves with the Event_Dispatcher as observers of
specific notifications posted by other objects. When an event occurs,
an object posts an appropriate notification to the Event_Dispatcher.
The Event_Dispatcher dispatches a message to each registered
observer, passing the notification as the sole argument.
The FSM package provides a simple class that implements a Finite State Machine.
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.
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.