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

Class: Image_Graph_DataPreprocessor_Function

Source Location: /Image_Graph-0.8.0/Graph/DataPreprocessor/Function.php

Class Overview

Image_Graph_DataPreprocessor
   |
   --Image_Graph_DataPreprocessor_Function

Formatting a value using a userdefined function.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 56]
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 Image_Graph use this function.



[ Top ]


Method Detail

Image_Graph_DataPreprocessor_Function (Constructor)   [line 73]

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 Tue, 05 Oct 2010 16:00:33 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.