[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Image/Graph/DataPreprocessor/ -> Function.php (sommaire)

Image_Graph - PEAR PHP OO Graph Rendering Utility. PHP versions 4 and 5

Author: Jesper Veggerby <pear.nosey@veggerby.dk>
Copyright: Copyright (C) 2003, 2004 Jesper Veggerby Hansen
License: http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
Version: CVS: $Id: Function.php,v 1.7 2005/11/11 17:53:44 nosey Exp $
Poids: 92 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Image/Graph/DataPreprocessor.php

Définit 1 class

Image_Graph_DataPreprocessor_Function:: (2 méthodes):
  Image_Graph_DataPreprocessor_Function()
  _process()


Classe: Image_Graph_DataPreprocessor_Function  - X-Ref

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.

Image_Graph_DataPreprocessor_Function($function)   X-Ref
Create a FunctionData preprocessor

param: string $function The name of the PHP function to use as

_process($value)   X-Ref
Process the value

param: var $value The value to process/format
return: string The processed value



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7