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

Class: Image_GIS_Parser

Source Location: /Image_GIS-1.1.2/Image/GIS/Parser.php

Class Overview


Parser Base Class.


Author(s):

Copyright:

  • Copyright &copy; 2002-2005 Jan Kneschke <jan@kneschke.de> and Sebastian Bergmann <sb@sebastian-bergmann.de>

Variables

Methods


Child classes:

Image_GIS_Parser_E00
E00 Parser.

Inherited Variables

Inherited Methods


Class Details

[line 31]
Parser Base Class.


[ Top ]


Class Variables

$cache =  NULL

[line 37]

Cache.

Type:   Cache_Lite


[ Top ]

$dataFiles = array()

[line 44]

Data Files.

Type:   array


[ Top ]

$debug =

[line 51]

Set to TRUE to enable debugging.

Type:   boolean


[ Top ]

$lineSets = array()

[line 58]

Line Set.

Type:   array


[ Top ]



Method Detail

Image_GIS_Parser (Constructor)   [line 67]

Image_GIS_Parser Image_GIS_Parser( boolean $cache, boolean $debug)

Constructor.
  • Access: public

Parameters:

boolean   $cache     
boolean   $debug     

[ Top ]

addDataFile   [line 100]

void addDataFile( string $dataFile, mixed $color)

Adds a datafile to the map.
  • Access: public

Parameters:

string   $dataFile     
mixed   $color     

[ Top ]

factory   [line 84]

object &factory( string $parser, boolean $cache, boolean $debug)

Factory.
  • Access: public

Parameters:

string   $parser     
boolean   $cache     
boolean   $debug     

[ Top ]

parse   [line 110]

array parse( )

Parses the data files of the map.
  • Access: public

[ Top ]

parseFile   [line 143]

mixed parseFile( string $dataFile, mixed $color)

Parses a data file.
  • Abstract:
  • Access: public

Overridden in child classes as:

Image_GIS_Parser_E00::parseFile()
Parses a data file.

Parameters:

string   $dataFile     
mixed   $color     

[ Top ]


Documentation generated on Tue, 05 Oct 2010 15:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.