Class DOMIT_DocumentType

Description

A class representing the DOM Document Type node

Located in /includes/domit/xml_domit_parser.php (line 2906)

DOMIT_Node
   |
   --DOMIT_DocumentType
Variable Summary
Object $elements
Object $entities
string $name
Object $notations
string $publicID
string $systemID
string $text
Method Summary
DOMIT_DocumentType DOMIT_DocumentType (string $name, mixed $text)
Object &cloneNode ([boolean $deep = false])
string getName ()
string getText ()
Array toArray ()
string toString ([boolean $htmlSafe = false])
Variables
Object $elements (line 2914)
  • var: A NodeList of elements (NOT YET IMPLEMENTED!)
Object $entities (line 2910)
  • var: True if the entity has been modified since parsing (NOT YET IMPLEMENTED!)
string $internalSubset (line 2922)
  • var: The full text of internal subset
string $name (line 2908)
  • var: The doctype name
Object $notations (line 2912)
  • var: A NodeList of notation nodes (NOT YET IMPLEMENTED!)
string $publicID (line 2918)
  • var: The public identifier of the external subset
string $systemID (line 2920)
  • var: The system identifier of the external subset
string $text (line 2916)
  • var: The full text of the doctype

Inherited Variables

Inherited from DOMIT_Node

DOMIT_Node::$attributes
DOMIT_Node::$childCount
DOMIT_Node::$childNodes
DOMIT_Node::$firstChild
DOMIT_Node::$lastChild
DOMIT_Node::$localname
DOMIT_Node::$namespaceURI
DOMIT_Node::$nextSibling
DOMIT_Node::$nodeName
DOMIT_Node::$nodeType
DOMIT_Node::$nodeValue
DOMIT_Node::$ownerDocument
DOMIT_Node::$parentNode
DOMIT_Node::$prefix
DOMIT_Node::$previousSibling
DOMIT_Node::$uid
Methods
Constructor DOMIT_DocumentType (line 2928)

DOM Document Type node constructor

DOMIT_DocumentType DOMIT_DocumentType (string $name, mixed $text)
  • string $name: The
cloneNode (line 2968)

Copies a node and/or its children

  • return: A copy of the node and/or its children
Object &cloneNode ([boolean $deep = false])
  • boolean $deep: True if all child nodes are also to be cloned

Redefinition of:
DOMIT_Node::cloneNode()
Copies a node and/or its children
getName (line 2951)

Returns the name of the doctype node

  • return: The name of the doctype node
string getName ()
getText (line 2943)

Returns the text contained in the current node

  • return: The text of the current node
string getText ()

Redefinition of:
DOMIT_Node::getText()
Returns the concatented text of the current node and its children
toArray (line 2959)

Generates an array representation of the node and its children

  • return: A representation of the node and its children
Array toArray ()

Redefinition of:
DOMIT_Node::toArray()
Generates an array representation of the node and its children
toString (line 2980)

Generates a string representation of the node and its children

  • return: The string representation
string toString ([boolean $htmlSafe = false])
  • boolean $htmlSafe: True if HTML readable output is desired

Inherited Methods

Inherited From DOMIT_Node

DOMIT_Node::DOMIT_Node()
DOMIT_Node::appendChild()
DOMIT_Node::clearReferences()
DOMIT_Node::cloneNode()
DOMIT_Node::forHTML()
DOMIT_Node::getChildNodeIndex()
DOMIT_Node::getElementsByAttributePath()
DOMIT_Node::getElementsByPath()
DOMIT_Node::getNamedElements()
DOMIT_Node::getText()
DOMIT_Node::getTypedNodes()
DOMIT_Node::getValuedNodes()
DOMIT_Node::hasAttributes()
DOMIT_Node::hasChildNodes()
DOMIT_Node::insertBefore()
DOMIT_Node::isSupported()
DOMIT_Node::normalize()
DOMIT_Node::nvl()
DOMIT_Node::onLoad()
DOMIT_Node::removeChild()
DOMIT_Node::replaceChild()
DOMIT_Node::setOwnerDocument()
DOMIT_Node::toArray()
DOMIT_Node::toNormalizedString()
DOMIT_Node::_constructor()

Documentation generated on Fri, 4 Mar 2005 13:57:48 +1000 by phpDocumentor 1.3.0RC3