datapreprocessor
[ class tree: datapreprocessor ] [ index: datapreprocessor ] [ all elements ]

Class: Image_Graph_DataPreprocessor

Source Location: /Graph/DataPreprocessor.php

Class Overview


Data preprocessor used for preformatting a data.


Author(s):

Methods


Child classes:

Image_Graph_DataPreprocessor_Array
Format data as looked up in an array.
Image_Graph_DataPreprocessor_Date
Formats Unix timestamp as a date using specified format.
Image_Graph_DataPreprocessor_Formatted
Format data using a (s)printf pattern.
Image_Graph_DataPreprocessor_Function
Formatting a value using a userdefined function.
Image_Graph_DataPreprocessor_NumberText
Formatting a number as its written in english.
Image_Graph_DataPreprocessor_RomanNumerals
Formatting a value as a roman numerals.

Class Details

[line 43]
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 {@see Image_Graph_Marker_Value} needs to display values as percentages with 1 decimal digit instead of the default formatting (fx. 12.01271 -> 12.0%).




Tags:

abstract:  


[ Top ]


Class Methods


constructor Image_Graph_DataPreprocessor [line 49]

Image_Graph_DataPreprocessor &Image_Graph_DataPreprocessor( )

Image_Graph_DataPreprocessor [Constructor].



[ Top ]


Documentation generated on Fri, 12 Nov 2004 08:25:13 +0100 by phpDocumentor 1.3.0RC3