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

Class: ConfigParser

Source Location: /ConfigParser.php

Class Overview


Class for importing configuration data to the application This class can be strategized with the appropriate Strategy Object to support the collection and parsing of data in a way independent of the configuration source implementation details.


Author(s):

Variables

Methods



Class Details

[line 34]
Class for importing configuration data to the application This class can be strategized with the appropriate Strategy Object to support the collection and parsing of data in a way independent of the configuration source implementation details.



Tags:

license:  GNU Public License
author:  Tsiavos Chris <jaames@freemail.gr>
final:  


[ Top ]


Class Variables

$Parser_Results =

[line 49]

Specifies the object containing the parsed configuration data

returned by the selected Strategy Object




Tags:

access:  private

Type:   ConfigData


[ Top ]

$Parser_Strategy =

[line 41]

Holds a reference to the selected ConfigStrategy instance



Tags:

access:  private

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 54]

ConfigParser __construct( )

Constructor



[ Top ]

destructor __destruct [line 59]

void __destruct( )

Destructor.Calls the finalize method of the selected Strategy Object for clean-up



[ Top ]

method get_ChartBgImage [line 326]

string get_ChartBgImage( )

Returns the full path of chart's background image. If the value

returned is null then no background image will be used




Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ChartColor_Alpha [line 310]

integer get_ChartColor_Alpha( )



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ChartColor_Finish [line 301]

string get_ChartColor_Finish( )

Returns the finishing color of the chart area.If finishing

color is different from starting color then the chart area will be filled with gradient color




Tags:

access:  public


[ Top ]

method get_ChartColor_Start [line 290]

string get_ChartColor_Start( )

Returns the starting color of the chart area.If starting

color is diffrent from finishing color then the chart area will be filled with gradient color




Tags:

access:  public


[ Top ]

method get_ChartHmargin [line 209]

integer get_ChartHmargin( )

Returns chart's x-distance from the top left corner of the image



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ChartTitle [line 154]

string get_ChartTitle( )



Tags:

access:  public


[ Top ]

method get_ChartType [line 164]

string get_ChartType( )

Returns the chart type



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ChartUseAntialias [line 194]

string get_ChartUseAntialias( )

Determines if phpchartPlus will use antialias functions



Tags:

return:  ("Yes","No")
access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ChartUseBlending [line 179]

string get_ChartUseBlending( )

Determines if phpchartPlus will use blending for the generated chart image



Tags:

return:  ("Yes","No")
access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ChartUseStatus [line 237]

string get_ChartUseStatus( )

Determines if phpchartPlus will use status indication for the generated chart



Tags:

return:  ("Yes","No")
access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ChartVmargin [line 223]

integer get_ChartVmargin( )

Returns chart's y-distance from the top left corner of the image



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_FontColor [line 354]

string get_FontColor( )

Returns the font color



Tags:

access:  public


[ Top ]

method get_FontFileLocation [line 341]

string get_FontFileLocation( )

Returns the full path of the FreeType2 font the chart will use for drawing

characters in the chart image




Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_FontHeight [line 372]

string get_FontHeight( )

Returns the height of the built-in font



Tags:

access:  public


[ Top ]

method get_FontSize [line 381]

string get_FontSize( )

Returns the font size of the selected FreeType2 font



Tags:

access:  public


[ Top ]

method get_FontWidth [line 363]

string get_FontWidth( )

Returns the width of the built-in font



Tags:

access:  public


[ Top ]

method get_GridColor [line 449]

string get_GridColor( )

Returns the grid color



Tags:

access:  public


[ Top ]

method get_GridMaxValue [line 440]

integer get_GridMaxValue( )

Returns the maximum grid value



Tags:

access:  public


[ Top ]

method get_GridMinValue [line 423]

integer get_GridMinValue( )

Returns the minimum grid value



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_GridNum [line 409]

integer get_GridNum( )

Returns the number of the grids phpchartPlus will use

for segmentating the chart area




Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ImageColor_Alpha [line 274]

integer get_ImageColor_Alpha( )

Returns the image's color alpha value



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ImageColor_Finish [line 264]

string get_ImageColor_Finish( )

Returns the finishing color of the image area. If finishing

color is diffrent from starting color then the image area will be filled with gradient color




Tags:

access:  public


[ Top ]

method get_ImageColor_Start [line 253]

string get_ImageColor_Start( )

Returns the starting color of the image area. If starting

color is diffrent from finishing color then the image area will be filled with gradient color




Tags:

access:  public


[ Top ]

method get_ImageHeight [line 127]

integer get_ImageHeight( )



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ImageOutputType [line 141]

integer get_ImageOutputType( )

Returns the Image's content-type value



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_ImageWidth [line 114]

integer get_ImageWidth( )



Tags:

access:  public
throws:  ConfigParser_Exception


[ Top ]

method get_LegendColors [line 390]

string[] get_LegendColors( )

Returns an array holding the legend colors



Tags:

access:  public


[ Top ]

method get_LegendColors_Alpha [line 399]

integer[] get_LegendColors_Alpha( )

Returns the alpha value of the legend's colors



Tags:

access:  public


[ Top ]

method parse [line 71]

void parse( [mixed $params = NULL])

Instructs the selected Strategy Object to collect and return the configuration data

to ConfigParser for analysis




Tags:

access:  public


Parameters:

mixed   $params   Specifies an arbitrary number of parameters passed to the selected Strategy Object during data parsing

[ Top ]

method strategize [line 103]

void strategize( mixed &$Strategy_Object, [mixed $params = NULL], mixed &$Parser_Strategy_Object)

Strategizes the ConfigParser with the selected Strategy object



Tags:

access:  public


Parameters:

mixed   &$Parser_Strategy_Object  
mixed   $params   Specifies an arbitrary number of parameters passed to the selected Strategy Object

[ Top ]


Documentation generated on Sun, 3 Oct 2004 14:59:08 +0300 by phpDocumentor 1.3.0RC3