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

Class: DB_Sqlite_Tools_XMLParser

Source Location: /DB_Sqlite_Tools-0.1.7/DB/Sqlite/Tools/XMLParser.php

Class Overview


Alpha version of the XML parser to be possibly replaced by a proper parse or extension as suggested by Stephan Schimdt.


Author(s):

Version:

  • Release: 0.1.7

Copyright:

  • Copyright (c) 2004-2006 David Costa

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 72]
Alpha version of the XML parser to be possibly replaced by a proper parse or extension as suggested by Stephan Schimdt.


[ Top ]


Class Variables

$element =

[line 88]

Current parse element.
  • Access: public

Type:   string


[ Top ]

$enclosed =

[line 95]

Enclosed element.
  • Access: public

Type:   string


[ Top ]

$fh =

[line 81]

File resource handler.
  • Access: public

Type:   resource


[ Top ]

$ignoreList = array()

[line 102]

List of elements to ignore.
  • Access: public

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 114]

DB_Sqlite_Tools_XMLParser __construct( resource $fh, [int $pos = 0])

Construct.
  • Access: public

Parameters:

resource   $fh   —  File pointer resource handler.
int   $pos   —  (optional) Byte as start position.

[ Top ]

getElement   [line 201]

string getElement( )

Get the element.
  • Access: public

[ Top ]

getElementAttribute   [line 217]

void getElementAttribute( $name)

  • Access: public

Parameters:

   $name   — 

[ Top ]

getElementName   [line 227]

void getElementName( )

  • Access: public

[ Top ]

getEnclosed   [line 209]

void getEnclosed( )

  • Access: public

[ Top ]

getNextElement   [line 124]

void getNextElement( )

  • Access: public

[ Top ]

ignore   [line 188]

void ignore( string $str)

Add $str to ignore list.
  • Access: public

Parameters:

string   $str   —  The element to ignore.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:05 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.