* @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version CVS: $Id$ * @link http://pear.php.net/package/Image_Graph */ /** * Data preprocessor used for preformatting a data. * * A data preprocessor is used in cases where a value from a dataset or label must be * displayed in another format or way than entered. This could for example be the need * to display X-values as a date instead of 1, 2, 3, .. or even worse unix-timestamps. * It could also be when a {@link Image_Graph_Marker_Value} needs to display values as percentages * with 1 decimal digit instead of the default formatting (fx. 12.01271 -> 12.0%). * * @category Images * @package Image_Graph * @subpackage DataPreprocessor * @author Jesper Veggerby * @copyright Copyright (C) 2003, 2004 Jesper Veggerby Hansen * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 * @version Release: @package_version@ * @link http://pear.php.net/package/Image_Graph * @abstract */ class Image_Graph_DataPreprocessor { /** * Image_Graph_DataPreprocessor [Constructor]. */ function Image_Graph_DataPreprocessor() { } /** * Process the value * * @param var $value The value to process/format * @return string The processed value * @access private */ function _process($value) { return $value; } } ?>