IMPRESS dotted_line CONTACT dotted_line search dotted_line Kontakt dotted_line sitemap dotted_line print
116 PHP-Resource users online

Switch to another languags Deutsch aktuelle Sprache Englisch

PHP Manual

The tidyNode class

(No version information available, might only be in SVN)


An HTML node in an HTML file, as detected by tidy.

Class synopsis

tidyNode {
/* Properties */
/* Methods */
tidyNode getParent ( void )
bool hasChildren ( void )
bool hasSiblings ( void )
bool isAsp ( void )
bool isComment ( void )
bool isHtml ( void )
bool isJste ( void )
bool isPhp ( void )
bool isText ( void )



The HTML representation of the node, including the surrounding tags.


The name of the HTML node


The type of the tag (one of the constants above, e.g. TIDY_NODETYPE_PHP)


The line number at which the tags is located in the file


The column number at which the tags is located in the file


Indicates if the node is a proprietary tag


The ID of the tag (one of the constants above, e.g. TIDY_TAG_FRAME)


An array of string, representing the attributes names (as keys) of the current node.


An array of tidyNode, representing the children of the current node.

Version Description
5.1.0 line, column and proprietary were added

Table of Contents

Comments to the PHP manual
Write new comment


New Tutorial entries

Migration einer PHP 5 App auf PHP 7

Dieses PHP 7 Tutorial zeigt dir, wie du dein PHP5 Script auf PHP7 umstellst.

Berni | Category: PHP
PHP 7 Virtual Machine

Dieser Artikel zielt darauf ab, einen Überblick über die Zend Virtual Machine, wie es in PHP 7 gefunden wird.

Berni | Category: PHP
plotting masters - a professional guide - Teil II

Grafische Interpolation und Bestapproximation von numerischen Wertepaaren: Wir wollen Punkte auf einer Zeichenebene über verschiedene Verfahren miteinander verbinden.

EVAMasters | Category: PHP