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

Class: Image_GIS2_Parser

Source Location: /Image_GIS2-0.1.0/Image/GIS2/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_GIS2_Parser_E00
E00 Parser.

Inherited Variables

Inherited Methods


Class Details

[line 31]
Parser Base Class.


[ Top ]


Class Variables

$cache =  NULL

[line 37]

Cache.
  • Access: protected

Type:   Cache_Lite


[ Top ]

$dataFiles = array()

[line 44]

Data Files.
  • Access: protected

Type:   array


[ Top ]

$debug =

[line 51]

Set to TRUE to enable debugging.
  • Access: protected

Type:   boolean


[ Top ]

$lineSets = array()

[line 58]

Line Set.
  • Access: protected

Type:   array


[ Top ]



Method Detail

Image_GIS2_Parser (Constructor)   [line 67]

Image_GIS2_Parser Image_GIS2_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_GIS2_Parser_E00::parseFile()
Parses a data file.

Parameters:

string   $dataFile     
mixed   $color     

[ Top ]


Documentation generated on Mon, 14 May 2012 13:30:03 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.