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

Class: PEAR_XMLParser

Source Location: /PEAR-1.10.0dev2/PEAR/XMLParser.php

Class Overview


Parser for any xml file


Author(s):

Version:

  • Release: 1.10.0dev2

Copyright:

  • 1997-2009 The Authors

Variables

Methods


Child classes:

PEAR_PackageFile_Parser_v2
Parser for package.xml version 2.0
PEAR_ChannelFile_Parser
Parser for channel.xml

Inherited Variables

Inherited Methods


Class Details

[line 29]
Parser for any xml file


[ Top ]


Class Variables

$encoding =  'ISO-8859-1'

[line 65]

The XML encoding to use

Type:   string


[ Top ]



Method Detail

getData   [line 70]

array getData( )


[ Top ]

parse   [line 79]

true|PEAR_Error parse( string $data)


Overridden in child classes as:

PEAR_PackageFile_Parser_v2::parse()
PEAR_ChannelFile_Parser::parse()

Parameters:

string   $data   —  xml content

[ Top ]

postProcess   [line 150]

void postProcess( string $data, string $element)

post-process data

Overridden in child classes as:

PEAR_PackageFile_Parser_v2::postProcess()
post-process data

Parameters:

string   $data   — 
string   $element   —  element name

[ Top ]


Documentation generated on Fri, 31 Jul 2015 09:30:28 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.