downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

tidyNode::getParent> <tidy::root
[edit] Last updated: Fri, 25 May 2012

view this page in

La classe tidyNode

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

Introduction

Une balise HTML dans un fichier HTML, tel que détecté par Tidy.

Synopsis de la classe

tidyNode {
/* Propriétés */
$id;
/* Méthodes */
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 )
}

Propriétés

value

La représentation HTML du noeud, incluant les balises d'encadrement.

name

Le nom de la balise HTML

type

Le type de balise (une constante de type, e.g. TIDY_NODETYPE_PHP)

line

Le numéro de ligne auquel la balise commence

column

Le numéro de colonne où la balise commence

proprietary

Indique que la balise est une balise propriétaire

id

L'ID de la balise (une des constantes de balise, e.g. TIDY_TAG_FRAME)

attribute

Un tableau de chaînes, représentant les noms d'attributs (les clés), du noeud courant.

child

Un tableau d'objets tidyNode, représentant les enfants du noeud courant.

Version Description
5.1.0 line, column et proprietary a été ajouté

Sommaire



add a note add a note User Contributed Notes tidyNode
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites