<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Docs For Class htmlNode</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header-top-left"><img src="../media/logo.png" border="0" alt="phpDocumentor " /></td>
<td class="header-top-right">php4-html-dom<br /><div class="header-top-right-subpackage"></div></td>
</tr>
<tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td colspan="2" class="header-menu">
[ <a href="../classtrees_php4-html-dom.html" class="menu">class tree: php4-html-dom</a> ]
[ <a href="../elementindex_php4-html-dom.html" class="menu">index: php4-html-dom</a> ]
[ <a href="../elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td colspan="2" class="header-line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="195" class="menu">
<div class="package-title">php4-html-dom</div>
<b>Packages:</b><br />
<div class="package">
<a href="../li_php4-html-dom.html">php4-html-dom</a><br />
</div>
<br />
<b>Files:</b><br />
<div class="package">
<span style="padding-left: 1em;"><a href="../php4-html-dom/_php4-html-dom-debug.php.html">php4-html-dom-debug.php</a></span><br />
<span style="padding-left: 1em;"><a href="../php4-html-dom/_php4-html-dom.php.html">php4-html-dom.php</a></span><br />
</div>
<br />
<b>Classes:</b><br />
<div class="package">
<a href="../php4-html-dom/htmlNode.html">htmlNode</a> <br />
<a href="../php4-html-dom/htmlParser.html">htmlParser</a> <br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Class: htmlNode</h1>
Source Location: /php4-html-dom.php<br /><br />
<h2 class="class-name">Class htmlNode</h2>
<a name="sec-description"></a>
<div class="info-box">
<div class="info-box-title">Class Overview</div>
<div class="nav-bar">
<span class="disabled">Class Overview</span>
| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
<table width="100%" border="0">
<tr><td valign="top" width="60%" class="class-overview">
<p align="center" class="short-description"><strong>HTML node class
</strong></p>
<span class="description"><p>Responsibilities: represents one single element or text segment of HTML in DOM structure</p></span>
<p class="notes">
Located in <a class="field" href="_php4-html-dom.php.html">/php4-html-dom.php</a> [<span class="field">line 335</span>]
</p>
<pre></pre>
<strong>Author(s):</strong>
<ul>
<li>Adrian Meyer <<a href="mailto:adrian.meyer@unc.edu">adrian.meyer@unc.edu</a>></li>
</ul>
<strong>Information Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
</table>
</td>
<td valign="top" width="20%" class="class-overview">
<p align="center" class="short-description"><strong><a href="#sec_vars">Properties</a></strong></p>
<ul>
<li><a href="../php4-html-dom/htmlNode.html#var$AttributeQuotes">$AttributeQuotes</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$Attributes">$Attributes</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$ChildNodes">$ChildNodes</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$Parent">$Parent</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$ParseEndPosition">$ParseEndPosition</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$ParseStartPosition">$ParseStartPosition</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$TagData">$TagData</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$TagName">$TagName</a></li>
<li><a href="../php4-html-dom/htmlNode.html#var$TagType">$TagType</a></li>
</ul>
</td>
<td valign="top" width="20%" class="class-overview">
<p align="center" class="short-description"><strong><a href="#sec_methods">Methods</a></strong></p>
<ul>
<li><a href="../php4-html-dom/htmlNode.html#methodhtmlNode">htmlNode</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodaddChildNode">addChildNode</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodclearAttributes">clearAttributes</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodclearChildNodes">clearChildNodes</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodfindNodeByAttributeDown">findNodeByAttributeDown</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodfindNodeDown">findNodeDown</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodfindNodesByAttributeDown">findNodesByAttributeDown</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodfindNodesDown">findNodesDown</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodfindNodeUp">findNodeUp</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodgetAttribute">getAttribute</a></li>
<li><a href="../php4-html-dom/htmlNode.html#methodgetHtml">getHtml</a></li>
</ul>
</td>
</tr></table>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
<a name="sec-var-summary"></a>
<div class="info-box">
<div class="info-box-title">Property Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a>
| <span class="disabled">Property Summary</span> | <a href="#sec-vars">Properties Detail</a>
| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
<div class="var-summary">
<table border="0" cellspacing="0" cellpadding="0" class="var-summary">
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">array</span> </td>
<td class="var-title"><a href="#$AttributeQuotes" title="details" class="var-name-summary">$AttributeQuotes</a> </td>
<td class="var-summary-description">AttributeQuotes or Attributes. The attribute quotes are name value pairs with the quote type in the value part</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">array</span> </td>
<td class="var-title"><a href="#$Attributes" title="details" class="var-name-summary">$Attributes</a> </td>
<td class="var-summary-description">Attributes of node. The attributes are name value pairs. On boolean attributes the value is NULL</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">array</span> </td>
<td class="var-title"><a href="#$ChildNodes" title="details" class="var-name-summary">$ChildNodes</a> </td>
<td class="var-summary-description">List of child nodes pointing to instances of htmlNode. The keys are ignored</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary"><a href="../php4-html-dom/htmlNode.html">htmlNode</a></span> </td>
<td class="var-title"><a href="#$Parent" title="details" class="var-name-summary">$Parent</a> </td>
<td class="var-summary-description">Points to parent node</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">integer</span> </td>
<td class="var-title"><a href="#$ParseEndPosition" title="details" class="var-name-summary">$ParseEndPosition</a> </td>
<td class="var-summary-description">Ending position of tag from the parsing operation</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">integer</span> </td>
<td class="var-title"><a href="#$ParseStartPosition" title="details" class="var-name-summary">$ParseStartPosition</a> </td>
<td class="var-summary-description">Starting position of tag from the parsing operation</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">string</span> </td>
<td class="var-title"><a href="#$TagData" title="details" class="var-name-summary">$TagData</a> </td>
<td class="var-summary-description">Information between the < and > without the name of the tag.</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">string</span> </td>
<td class="var-title"><a href="#$TagName" title="details" class="var-name-summary">$TagName</a> </td>
<td class="var-summary-description">Name visible in HTML. For type ttText and ttRoot the name is blank</td></tr>
</div>
<div class="var-title">
<tr><td class="var-title"><span class="var-type-summary">string</span> </td>
<td class="var-title"><a href="#$TagType" title="details" class="var-name-summary">$TagType</a> </td>
<td class="var-summary-description">Defines how the tag is displayed in HTML. <name> </name> <name/> <!-- comment -->,...</td></tr>
</div>
</table>
</div>
<br /><div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
<a name="sec-method-summary"></a>
<div class="info-box">
<div class="info-box-title">Method Summary</span></div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a>
| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
| <span class="disabled">Method Summary</span> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
<div class="method-summary">
<table border="0" cellspacing="0" cellpadding="0" class="method-summary">
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../php4-html-dom/htmlNode.html">htmlNode</a></span> </td>
<td class="method-definition"><a href="#htmlNode" title="details" class="method-name">htmlNode</a>() </td>
<td class="method-definition">Constructor</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../php4-html-dom/htmlNode.html">htmlNode</a></span> </td>
<td class="method-definition"><a href="#addChildNode" title="details" class="method-name">&addChildNode</a>() </td>
<td class="method-definition">Adds a new htmlNode instance to the end of the ChildNodes array</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span> </td>
<td class="method-definition"><a href="#clearAttributes" title="details" class="method-name">clearAttributes</a>() </td>
<td class="method-definition">Clear all attributes</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">void</span> </td>
<td class="method-definition"><a href="#clearChildNodes" title="details" class="method-name">clearChildNodes</a>() </td>
<td class="method-definition">Release and clear all child nodes</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL</span> </td>
<td class="method-definition"><a href="#findNodeByAttributeDown" title="details" class="method-name">&findNodeByAttributeDown</a>() </td>
<td class="method-definition">Find an htmlNode by attribute name and value in the hierarchy traversing down. (Parent to Children)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL</span> </td>
<td class="method-definition"><a href="#findNodeDown" title="details" class="method-name">&findNodeDown</a>() </td>
<td class="method-definition">Find an htmlNode by tag name in the hierarchy traversing down. (Parent to Children)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">array|NULL</span> </td>
<td class="method-definition"><a href="#findNodesByAttributeDown" title="details" class="method-name">findNodesByAttributeDown</a>() </td>
<td class="method-definition">Find multiple htmlNode(s) by attribute name and value in the hierarchy traversing down. (Parent to Children)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">array|NULL</span> </td>
<td class="method-definition"><a href="#findNodesDown" title="details" class="method-name">findNodesDown</a>() </td>
<td class="method-definition">Find multiple htmlNode(s) by tag name in the hierarchy traversing down. (Parent to Children)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL</span> </td>
<td class="method-definition"><a href="#findNodeUp" title="details" class="method-name">&findNodeUp</a>() </td>
<td class="method-definition">Find an htmlNode by tag name in the hierarchy walking from bottom up. (Children to Parent)</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result"><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL</span> </td>
<td class="method-definition"><a href="#getAttribute" title="details" class="method-name">getAttribute</a>() </td>
<td class="method-definition">Read an attribute by a given name. Case insensitive</td></tr>
</div>
<div class="method-definition">
<tr><td class="method-definition"><span class="method-result">string</span> </td>
<td class="method-definition"><a href="#getHtml" title="details" class="method-name">getHtml</a>() </td>
<td class="method-definition">Get the HTML from this node and all its children</td></tr>
</div>
</table>
</div>
<br /><div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
<a name="sec-vars"></a>
<div class="info-box">
<div class="info-box-title">Properties</div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a>
| <a href="#sec-var-summary">Property Summary</a> | <span class="disabled">Properties Detail</span>
| <a href="#sec-method-summary">Method Summary</a> | <a href="#sec-methods">Methods Detail</a>
</div>
<div class="info-box-body">
<a name="var$AttributeQuotes" id="$AttributeQuotes"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">array</span>
<span class="var-name">$AttributeQuotes</span>
<span class="smalllinenumber">[line 345]</span>
</span>
</div>
<p align="center" class="short-description"><strong>AttributeQuotes or Attributes. The attribute quotes are name value pairs with the quote type in the value part
</strong></p>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$Attributes" id="$Attributes"><!-- --></A>
<div class="evenrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">array</span>
<span class="var-name">$Attributes</span>
<span class="smalllinenumber">[line 340]</span>
</span>
</div>
<p align="center" class="short-description"><strong>Attributes of node. The attributes are name value pairs. On boolean attributes the value is NULL
</strong></p>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$ChildNodes" id="$ChildNodes"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">array</span>
<span class="var-name">$ChildNodes</span>
<span class="smalllinenumber">[line 351]</span>
</span>
</div>
<p align="center" class="short-description"><strong>List of child nodes pointing to instances of htmlNode. The keys are ignored
</strong></p>
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>See:</strong> </td><td><a href="../php4-html-dom/htmlNode.html">htmlNode</a></td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$Parent" id="$Parent"><!-- --></A>
<div class="evenrow">
<div class="var-header">
<span class="var-title">
<span class="var-type"><a href="../php4-html-dom/htmlNode.html">htmlNode</a></span>
<span class="var-name">$Parent</span>
<span class="smalllinenumber">[line 367]</span>
</span>
</div>
<p align="center" class="short-description"><strong>Points to parent node
</strong></p>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$ParseEndPosition" id="$ParseEndPosition"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">integer</span>
<span class="var-name">$ParseEndPosition</span>
<span class="smalllinenumber">[line 382]</span>
</span>
</div>
<p align="center" class="short-description"><strong>Ending position of tag from the parsing operation
</strong></p>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$ParseStartPosition" id="$ParseStartPosition"><!-- --></A>
<div class="evenrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">integer</span>
<span class="var-name">$ParseStartPosition</span>
<span class="smalllinenumber">[line 377]</span>
</span>
</div>
<p align="center" class="short-description"><strong>Starting position of tag from the parsing operation
</strong></p>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$TagData" id="$TagData"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">string</span>
<span class="var-name">$TagData</span>
<span class="smalllinenumber">[line 372]</span>
</span>
</div>
<p align="center" class="short-description"><strong>Information between the < and > without the name of the tag.
</strong></p>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$TagName" id="$TagName"><!-- --></A>
<div class="evenrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">string</span>
<span class="var-name">$TagName</span>
<span class="smalllinenumber">[line 362]</span>
</span>
</div>
<p align="center" class="short-description"><strong>Name visible in HTML. For type ttText and ttRoot the name is blank
</strong></p>
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="var$TagType" id="$TagType"><!-- --></A>
<div class="oddrow">
<div class="var-header">
<span class="var-title">
<span class="var-type">string</span>
<span class="var-name">$TagType</span>
<span class="smalllinenumber">[line 357]</span>
</span>
</div>
<p align="center" class="short-description"><strong>Defines how the tag is displayed in HTML. <name> </name> <name/> <!-- comment -->,...
</strong></p>
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>See:</strong> </td><td><a href="../php4-html-dom/_php4-html-dom.php.html#global$GLOBALS[gHtmlParser]['tagTypes']">$GLOBALS[gHtmlParser]['tagTypes']</a></td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
</div>
<a name="sec-methods"></a>
<div class="info-box">
<div class="info-box-title">Methods</div>
<div class="nav-bar">
<a href="#sec-description">Class Overview</a>
| <a href="#sec-var-summary">Property Summary</a> | <a href="#sec-vars">Properties Detail</a>
| <a href="#sec-method-summary">Method Summary</a> | <span class="disabled">Methods Detail</span>
</div>
<div class="info-box-body">
<a name='method_detail'></a>
<a name="methodhtmlNode" id="htmlNode"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">Constructor htmlNode</span> <span class="smalllinenumber">[line 394]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code><a href="../php4-html-dom/htmlNode.html">htmlNode</a> htmlNode(
&$aParent, [string
$aTagType = ttUnknown], <a href="../php4-html-dom/htmlNode.html">htmlNode</a>
$aParent
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Constructor
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type"><a href="../php4-html-dom/htmlNode.html">htmlNode</a></span> </td>
<td>
<span class="var-name">$aParent: </span></td>
<td>
<span class="var-description"> Parent node this new node belongs to</span> </td></tr>
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aTagType: </span></td>
<td>
<span class="var-description"> Initial type of tag</span> </td></tr>
<tr><td class="indent">
<span class="var-type"></span> </td>
<td>
<span class="var-name">&$aParent: </span></td>
<td>
</td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>See:</strong> </td><td><a href="../php4-html-dom/_php4-html-dom.php.html#global$GLOBALS[gHtmlParser]['tagTypes']">$GLOBALS[gHtmlParser]['tagTypes']</a></td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodaddChildNode" id="addChildNode"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">addChildNode</span> <span class="smalllinenumber">[line 411]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code><a href="../php4-html-dom/htmlNode.html">htmlNode</a> &addChildNode(
[string
$aTagType = ttUnknown]
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Adds a new htmlNode instance to the end of the ChildNodes array
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aTagType: </span></td>
<td>
<span class="var-description"> Initial type of tag</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>See:</strong> </td><td><a href="../php4-html-dom/_php4-html-dom.php.html#global$GLOBALS[gHtmlParser]['tagTypes']">$GLOBALS[gHtmlParser]['tagTypes']</a></td>
</tr>
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodclearAttributes" id="clearAttributes"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">clearAttributes</span> <span class="smalllinenumber">[line 615]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void clearAttributes(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Clear all attributes
</strong></p>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodclearChildNodes" id="clearChildNodes"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">clearChildNodes</span> <span class="smalllinenumber">[line 626]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void clearChildNodes(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Release and clear all child nodes
</strong></p>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodfindNodeByAttributeDown" id="findNodeByAttributeDown"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">findNodeByAttributeDown</span> <span class="smalllinenumber">[line 523]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL &findNodeByAttributeDown(
string
$aAttribute, string
$aValue
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Find an htmlNode by attribute name and value in the hierarchy traversing down. (Parent to Children)
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aAttribute: </span></td>
<td>
<span class="var-description"> Attribute name that should be searched for. [case insensitive]</span> </td></tr>
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aValue: </span></td>
<td>
<span class="var-description"> Value that should be searched for. [case insensitive]</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodfindNodeDown" id="findNodeDown"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">findNodeDown</span> <span class="smalllinenumber">[line 500]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL &findNodeDown(
string
$aTagName
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Find an htmlNode by tag name in the hierarchy traversing down. (Parent to Children)
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aTagName: </span></td>
<td>
<span class="var-description"> Name that should be searched for. This is case insensitive. Returns NULL if no match was found</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodfindNodesByAttributeDown" id="findNodesByAttributeDown"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">findNodesByAttributeDown</span> <span class="smalllinenumber">[line 574]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>array|NULL findNodesByAttributeDown(
string
$aAttribute, string
$aValue
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Find multiple htmlNode(s) by attribute name and value in the hierarchy traversing down. (Parent to Children)
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aAttribute: </span></td>
<td>
<span class="var-description"> Attribute name that should be searched for. [case insensitive]</span> </td></tr>
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aValue: </span></td>
<td>
<span class="var-description"> Value that should be searched for. [case insensitive]</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodfindNodesDown" id="findNodesDown"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">findNodesDown</span> <span class="smalllinenumber">[line 544]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>array|NULL findNodesDown(
string
$aTagName
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Find multiple htmlNode(s) by tag name in the hierarchy traversing down. (Parent to Children)
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aTagName: </span></td>
<td>
<span class="var-description"> Name that should be searched for. This is case insensitive. Returns NULL if no match was found</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodfindNodeUp" id="findNodeUp"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">findNodeUp</span> <span class="smalllinenumber">[line 482]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL &findNodeUp(
string
$aTagName
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Find an htmlNode by tag name in the hierarchy walking from bottom up. (Children to Parent)
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aTagName: </span></td>
<td>
<span class="var-description"> Name that should be searched for. This is case insensitive. Returns NULL if no match was found</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetAttribute" id="getAttribute"><!-- --></a>
<div class="oddrow">
<div class="method-header">
<span class="method-title">getAttribute</span> <span class="smalllinenumber">[line 603]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code><a href="../php4-html-dom/htmlNode.html">htmlNode</a>|NULL getAttribute(
string
$aAttribute
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Read an attribute by a given name. Case insensitive
</strong></p>
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr><td class="indent">
<span class="var-type">string</span> </td>
<td>
<span class="var-name">$aAttribute: </span></td>
<td>
<span class="var-description"> Name of the attribute to be accessed. This is case insensitive. Returns NULL if no match was found</span> </td></tr>
</table>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<a name="methodgetHtml" id="getHtml"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">getHtml</span> <span class="smalllinenumber">[line 424]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>string getHtml(
)</code>
</td></tr></table>
</td></tr></table><br /></div>
<p align="center" class="short-description"><strong>Get the HTML from this node and all its children
</strong></p>
<br />
<strong>API Tags:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="indent"><strong>Access:</strong> </td><td>public</td>
</tr>
</table>
<br />
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
</div>
<div class="credit">
<hr class="separator" />
Documentation generated on Mon, 25 Jan 2010 22:07:08 -0500 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>