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

Class: Image_Graph_DataPreprocessor_Function

Source Location: /Graph/DataPreprocessor/Function.php

Class Overview

Image_Graph_DataPreprocessor
   |
   --Image_Graph_DataPreprocessor_Function

Formatting a value using a userdefined function.


Methods


Inherited Methods


Class Details

[line 47]
Formatting a value using a userdefined function.

Use this method to convert/format a value to a "displayable" lable using a (perhaps) more complex function. An example could be (not very applicable though) if one would need for values to be displayed on the reverse order, i.e. 1234 would be displayed as 4321, then this method can solve this by creating the function that converts the value and use the FunctionData datapreprocessor to make GraPHPite use this function.




[ Top ]


Class Methods


constructor Image_Graph_DataPreprocessor_Function [line 62]

Image_Graph_DataPreprocessor_Function &Image_Graph_DataPreprocessor_Function( string $function)

Create a FunctionData preprocessor



Parameters:

string   $function   The name of the PHP function to use as a preprocessor, this function must take a single parameter and return a formatted version of this parameter

[ Top ]


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