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

Class: XML_DTD_XmlElement

Source Location: /XML_DTD-0.5.1/DTD/XmlParser.php

Class Overview


XML_DTD_XmlElement


Author(s):

Copyright:

  • 2008 Igor Feghali

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 189]
XML_DTD_XmlElement

Simplistic class to hold XML elements and its associated data



[ Top ]


Class Variables

$attr = array()

[line 193]


Type:   mixed


[ Top ]

$children = array()

[line 194]


Type:   mixed


[ Top ]

$colno =  0

[line 196]


Type:   mixed


[ Top ]

$content =  'EMPTY'

[line 192]


Type:   mixed


[ Top ]

$lineno =  0

[line 195]


Type:   mixed


[ Top ]

$name =  ''

[line 191]


Type:   mixed


[ Top ]



Method Detail

coord   [line 206]

string coord( )

XML_DTD_XmlElement::coord()

Returns the line/column numbers of the start of a XML element.

  • Return: Position of element in xml file (line:column).
  • Access: public

[ Top ]

getChildrenNames   [line 219]

array getChildrenNames( )

XML_DTD_XmlElement::getChildrenNames()

Returns the names of the children of current XML element.

  • Return: Array containing child names
  • Access: public

[ Top ]


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