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

Class: Utils

Source Location: /misc/Utils.php

Class Overview


Utils class


Author(s):

Version:

  • 1.0

Copyright:

  • (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>

Variables

Methods



Class Details

[line 16]
Utils class

Description: Chart utility procedures




Tags:

author:  
version:  1.0
copyright:  (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
link:  http://www.steema.com


[ Top ]


Class Variables

static $FUNCTIONTYPESCOUNT =  37

[line 326]

Number of chart Function types.



Tags:

access:  public

Type:   mixed


[ Top ]

static $SERIESTYPESCOUNT =  46

[line 393]

List of chart Function types.



Tags:

access:  public

Type:   mixed


[ Top ]

static $TOOLTYPESCOUNT =  19

[line 272]

Number of chart Tool types.



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


static method array_copy [line 238]

static array array_copy( array $aSource)

Make a recursive copy of an array



Tags:

return:  copy of source array


Parameters:

array   $aSource  

[ Top ]

static method hex2rgb [line 59]

static void hex2rgb( $color)



Parameters:

   $color  

[ Top ]

static method rgbhex [line 50]

static void rgbhex( $red, $green, $blue)



Parameters:

   $red  
   $green  
   $blue  

[ Top ]

static method sort [line 216]

static void sort( $startIndex, $endIndex, $c, $s)



Tags:

access:  public


Parameters:

   $startIndex  
   $endIndex  
   $c  
   $s  

[ Top ]

static method stringToDouble [line 162]

static void stringToDouble( $text, $value)



Tags:

access:  public


Parameters:

   $text  
   $value  

[ Top ]

static method swapInteger [line 178]

static void swapInteger( $a, $b)



Tags:

access:  public


Parameters:

   $a  
   $b  

[ Top ]

static method unlinkRecursive [line 107]

static void unlinkRecursive( string $dir, boolean $deleteRootToo)

Recursively delete a directory



Parameters:

string   $dir   Directory name
boolean   $deleteRootToo   Delete specified top-level directory as well

[ Top ]

constructor Utils [line 84]

Utils Utils( )



Tags:

access:  public


[ Top ]

method getDateTimeStep [line 79]

double getDateTimeStep( value $value)

Evaluates and returns a steema.<!-- -->teechart.<!-- -->DateTimeStep value as an Axis double scale that may be used to set the steema.<!-- -->teechart.<!-- -->Axis.<!-- -->Increment.



Tags:

access:  public


Parameters:

value   $value   DateTimeStep

[ Top ]


Documentation generated on Wed, 16 Jun 2010 12:09:06 +0200 by phpDocumentor 1.4.1