/** * Create a DateData preprocessor [Constructor] * * @param string $format See {@link http://www.php.net/manual/en/function.date.php * PHP Manual} for a description */ function Image_Graph_DataPreprocessor_Date($format) { parent::__construct(); $this->_format = $format; }
/** * Image_Graph_NumberText [Constructor]. * * Supported languages see {@link http://pear.php.net/package/Numbers_Words Numbers_Words} * * @param string $langugage The language identifier for the language. */ function Image_Graph_DataPreprocessor_NumberText($language = 'en_US') { parent::Image_Graph_DataPreprocessor(); $this->_language = $language; require_once 'Numbers/Words.php'; }
/** * Image_Graph_ArrayData [Constructor]. * * @param array $array The array to use as a lookup table */ function Image_Graph_DataPreprocessor_Array($array) { parent::__construct(); $this->_dataArray = $array; }
/** * Create a RomanNumerals preprocessor * * See {@link http://pear.php.net/package/Numbers_Roman Numbers_Roman} */ function Image_Graph_DataPreprocessor_RomanNumerals() { parent::__construct(); include_once 'Numbers/Roman.php'; }
/** * Create a (s)printf format data preprocessor * * @param string $format See {@link http://www.php.net/manual/en/function.sprintf.php * PHP Manual} for a description */ function Image_Graph_DataPreprocessor_Formatted($format) { parent::Image_Graph_DataPreprocessor(); $this->_format = $format; }
/** * Create a FunctionData preprocessor * * @param 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 */ function Image_Graph_DataPreprocessor_Function($function) { parent::Image_Graph_DataPreprocessor(); $this->_dataFunction = $function; }
/** * Create a (s)printf format data preprocessor * * @param string $format See {@link http://www.php.net/manual/en/function.sprintf.php * PHP Manual} for a description */ function __construct($format) { parent::__construct(); $this->_format = $format; }
/** * Create a FunctionData preprocessor * @param 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 */ function &Image_Graph_DataPreprocessor_Function($function) { parent::__construct(); $this->_dataFunction = $function; }
/** * Create a RomanNumerals preprocessor * * See {@link http://pear.php.net/package/Numbers_Roman Numbers_Roman} */ function __construct() { parent::__construct(); include_once 'Numbers/Roman.php'; }
/** * Image_Graph_ArrayData [Constructor]. * * @param array $array The array to use as a lookup table */ function __construct($array) { parent::__construct(); $this->_dataArray = $array; }
/** * Image_Graph_NumberText [Constructor]. * * Supported languages see {@link http://pear.php.net/package/Numbers_Words Numbers_Words} * * @param string $language The language identifier for the language. */ function Image_Graph_DataPreprocessor_NumberText($language = 'en_US') { parent::__construct(); $this->_language = $language; include_once 'Numbers/Words.php'; }
/** * Create a FunctionData preprocessor * * @param 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 */ function __construct($function) { parent::__construct(); $this->_dataFunction = $function; }
/** * Image_Graph_NumberText [Constructor]. * * Supported languages see {@link http://pear.php.net/package/Numbers_Words Numbers_Words} * * @param string $langugage The language identifier for the language. */ function __construct($language = 'en_US') { parent::__construct(); $this->_language = $language; require_once 'Numbers/Words.php'; }