Class DOMIT_Lite_TextNode

Description

A class representing the DOM Text Node

Located in /includes/domit/xml_domit_lite_parser.php (line 1526)

DOMIT_Lite_Node
   |
   --DOMIT_Lite_TextNode
Direct descendents
Class Description
DOMIT_Lite_CDATASection A class representing the DOM CDATA Section
Method Summary
DOMIT_Lite_TextNode DOMIT_Lite_TextNode (string $data)
Object &cloneNode ([boolean $deep = false])
string getText ()
void setText (string $data)
Array toArray ()
string toString ([boolean $htmlSafe = false], [boolean $subEntities = true])
Variables
Methods
Constructor DOMIT_Lite_TextNode (line 1531)

DOM Text Node constructor

DOMIT_Lite_TextNode DOMIT_Lite_TextNode (string $data)
  • string $data: The text of the node
cloneNode (line 1567)

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_Lite_Node::cloneNode()
Copies a node and/or its children
getText (line 1542)

Returns the text contained in the current node

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

Redefinition of:
DOMIT_Lite_Node::getText()
Returns the concatented text of the current node and its children
setText (line 1550)

Sets the text contained in the current node to $data.

void setText (string $data)
  • string $data: The text data of the node
toArray (line 1558)

Generates an array representation of the node and its children

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

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

Generates a string representation of the node and its children

  • return: The string representation
string toString ([boolean $htmlSafe = false], [boolean $subEntities = true])
  • boolean $htmlSafe: True if HTML readable output is desired
  • boolean $subEntities: True if illegal xml characters should be converted to entities

Redefined in descendants as:

Inherited Methods

Inherited From DOMIT_Lite_Node

DOMIT_Lite_Node::DOMIT_Lite_Node()
DOMIT_Lite_Node::appendChild()
DOMIT_Lite_Node::clearReferences()
DOMIT_Lite_Node::cloneNode()
DOMIT_Lite_Node::forHTML()
DOMIT_Lite_Node::getChildNodeIndex()
DOMIT_Lite_Node::getElementsByPath()
DOMIT_Lite_Node::getNamedElements()
DOMIT_Lite_Node::getText()
DOMIT_Lite_Node::hasChildNodes()
DOMIT_Lite_Node::insertBefore()
DOMIT_Lite_Node::nvl()
DOMIT_Lite_Node::onLoad()
DOMIT_Lite_Node::removeChild()
DOMIT_Lite_Node::replaceChild()
DOMIT_Lite_Node::setOwnerDocument()
DOMIT_Lite_Node::toArray()
DOMIT_Lite_Node::toNormalizedString()
DOMIT_Lite_Node::_constructor()

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