JavaScript Editor Javascript validator     Web page editor 



Overview

Overview -- The How and What of Output Drivers

In brief

Output drivers provide a means of presenting the same information in a variety of formats. The drivers that currently ship with PEAR_Size provide formatting for CVS, HTML, XML and plain text.

Below is an example of creating a driver for XML output:

$type = 'xml';
//get the factory
$factory = new PEAR_Size_OutputFactory();
//and create the driver...
$driver = $factory->createInstance($type);




JavaScript Editor Javascript validator     Web page editor