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

Class: PEAR_XMLParser

Source Location: /PEAR-1.9.4/PEAR/XMLParser.php

Class Overview


Parser for any xml file


Author(s):

Version:

  • Release: 1.9.4

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 30]
Parser for any xml file


[ Top ]


Class Variables

$encoding =  'ISO-8859-1'

[line 66]

The XML encoding to use

Type:   string


[ Top ]



Method Detail

getData   [line 71]

array getData( )


[ Top ]

parse   [line 80]

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 156]

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 Wed, 06 Jul 2011 23:31:44 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.