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

Class: XML_DTD_Parser

Source Location: /XML_DTD-0.5.2/DTD.php

Class Overview


XML_DTD_Parser


Author(s):

Version:

  • Release: 0.5.2

Copyright:

  • 2003-2008 Tomas V.V.Cox <cox@idecnet.com>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 75]
XML_DTD_Parser

Usage:

  1.  // Create a new XML_DTD parser object
  2.  $dtd_parser = new XML_DTD_Parser;
  3.  // Do the parse and return a XML_DTD_Tree object
  4.  // containing the DTD tree representatio.
  5.  $dtd_tree $dtd_parser->parse($dtd_file);



[ Top ]


Class Variables

$dtd = array()

[line 80]


Type:   array


[ Top ]

$folding =  false

[line 85]


Type:   boolean


[ Top ]



Method Detail

parse   [line 158]

XML_DTD_Tree parse( string $cont, [boolean $is_file = true])

XML_DTD_Parser::parse()
  • Return: a XML_DTD_Tree object
  • Access: public

Parameters:

string   $cont     it could be either a filename or a string
boolean   $is_file     if the first param is supposed to be a string or a filename

[ Top ]


Documentation generated on Tue, 28 Apr 2009 03:30:02 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.