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

Class: XML_DTD_XmlElement

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

Class Overview


XML_DTD_XmlElement


Author(s):

Copyright:

  • 2008 Igor Feghali

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 206]
XML_DTD_XmlElement

Simplistic class to hold XML elements and its associated data



[ Top ]


Class Variables

$attr = array()

[line 210]


Type:   mixed


[ Top ]

$children = array()

[line 211]


Type:   mixed


[ Top ]

$colno =  0

[line 214]


Type:   mixed


[ Top ]

$content =  'EMPTY'

[line 209]


Type:   mixed


[ Top ]

$lineno =  0

[line 213]


Type:   mixed


[ Top ]

$name =  ''

[line 208]


Type:   mixed


[ Top ]

$parent =  null

[line 212]


Type:   mixed


[ Top ]



Method Detail

coord   [line 224]

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

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:31:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.