Class DOMIT_ProcessingInstruction

Description

A class representing the DOM Processing Instruction node

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

DOMIT_Node
   |
   --DOMIT_ProcessingInstruction
Method Summary
DOMIT_ProcessingInstruction DOMIT_ProcessingInstruction (string $target, mixed $data)
Object &cloneNode ([boolean $deep = false])
string getData ()
string getTarget ()
string getText ()
Array toArray ()
string toString ([boolean $htmlSafe = false])
Variables
Methods
Constructor DOMIT_ProcessingInstruction (line 2834)

DOM Processing Instruction node constructor

DOMIT_ProcessingInstruction DOMIT_ProcessingInstruction (string $target, mixed $data)
  • string $target: The
cloneNode (line 2878)

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
getData (line 2853)

Returns the processing instruction data

  • return: The processing instruction data
string getData ()
getTarget (line 2845)

Returns the processing instruction target

  • return: The processing instruction target
string getTarget ()
getText (line 2861)

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 2869)

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 2890)

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:51 +1000 by phpDocumentor 1.3.0RC3