Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: c:/www/apache/doc2//pear/XML/Parser.php
PEAR 2000/12/03 -

XML_Parser

PEAR
   |
  +-- XML_Parser

Base class for other PEAR classes. Provides rudimentary

 

private class XML_Parser extends PEAR

Base class for other PEAR classes. Provides rudimentary
emulation of destructors.If you want a destructor in your class, inherit PEAR and make adestructor method called _yourclassname (same name as theconstructor, but with a "_" prefix). Also, in your constructor youhave to call the PEAR constructor: <code>$this->PEAR();</code>.The destructor method will be called without parameters. Note thatat in some SAPI implementations (such as Apache), any output duringthe request shutdown (in which destructors are called) seems to bediscarded. If you need to get any debug information from yourdestructor, use <code>error_log()</code>, <code>syslog()</code> orsomething like that instead.

AuthorsStig Bakken <ssb@fast.no>
SincePHP 4.0.2

 

Methods inherited from PEAR

pear, _pear, iserror, _pear_call_destructors

Public Method Summary

void

XML_Parser(string $charset)

Warning: documentation is missing.

Private Method Summary

void

setInputFile( $file)

Warning: documentation is missing.
void

setInput( $fp)

Warning: documentation is missing.
void

parse()

Warning: documentation is missing.
void

parseString( $data, boolean $eof)

Warning: documentation is missing.
void

XML_Parser_Error(string $msgorparser, integer $code, string $mode, string $level)

Warning: documentation is missing.

Fields inherited from PEAR

$_debug

Private Field Summary

unknown

$parser

unknown

$fp

boolean

$folding

string

$error_message_prefix

Public Method Details

XML_Parser

public void XML_Parser( string $charset )

 

Warning: documentation is missing.

Parameter
string $charset
Warning: documentation is missing.
Returns void


Private Method Details

setInputFile

private void setInputFile( $file )

 

Warning: documentation is missing.

Parameter
$file
Warning: documentation is missing.
Returns void


setInput

private void setInput( $fp )

 

Warning: documentation is missing.

Parameter
$fp
Warning: documentation is missing.
Returns void


parse

private void parse( )

 

Warning: documentation is missing.

Returns void


parseString

private void parseString( $data, boolean $eof )

 

Warning: documentation is missing.

Parameter
$data
Warning: documentation is missing.
boolean $eof
Warning: documentation is missing.
Returns void


XML_Parser_Error

private void XML_Parser_Error( string $msgorparser, integer $code, string $mode, string $level )

 

Warning: documentation is missing.

Parameter
string $msgorparser
Warning: documentation is missing.
integer $code
Warning: documentation is missing.
string $mode
Warning: documentation is missing.
string $level
Warning: documentation is missing.
Returns void


Private Field Details

$parser

private unknown $parser

>><<



$fp

private unknown $fp

>><<



$folding

private boolean $folding

>>true<<



$error_message_prefix

private string $error_message_prefix

>>'XML_Parser: '<<




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta