Rapide Advanced Adulte
 
 Web|Image|Shop|Video|News|Wmx|Mobile|Wiki|Ajouter ce moteur

     Manuel PHP     
Partager
 
 
Partager
Partager

 

Table :

.ob tidyhandler
.tidy access count
.tidy clean repair
.tidy config count
.tidy:: construct
.tidy diagnose
.tidy error count
.tidy get body
.tidy get config
.tidy get error buffer
.tidy get head
.tidy get html ver
.tidy get html
.tidy get opt doc
.tidy get output
.tidy get release
.tidy get root
.tidy get status
.tidy getopt
.tidy is xhtml
.tidy is xml
.tidy load config
.tidy node->get attr
.tidy node->get nodes
.tidy node->next
.tidy node->prev
.tidy parse file
.tidy parse string
.tidy repair file
.tidy repair string
.tidy reset config
.tidy save config
.tidy set encoding
.tidy setopt
.tidy warning count
.tidyNode->hasChildren
.tidyNode->hasSiblings
.tidyNode->isAsp
.tidyNode->isComment
.tidyNode->isHtml
.tidyNode->isJste
.tidyNode->isPhp
.tidyNode->isText
 
   

  tidy_warning_count  


tidy_warning_count

(PHP 5)

tidy_warning_count --  Retourne le nombre d'alertes Tidy rencontrées dans le document spécifié

Description

int tidy_warning_count ( tidy object )

tidy_warning_count() retourne le nombre d'avertissements tidy rencontrés pour le document spécifié.

Exemple 1. Exemple avec tidy_warning_count()

<?php
$html
= '<p>test</i>
<bogustag>bogus</bogustag>'
;

$tidy = tidy_parse_string($html);

echo
tidy_error_count($tidy)   . "\n"; //1
echo tidy_warning_count($tidy) . "\n"; //5
?>

Voir aussi tidy_access_count() et tidy_error_count().


    Annonces       
 

 Retour au chapitre Php

 

Top
 

Ajouter JungleKey.fr à votre Explorateur

 
 

About Us | © 2007 JungleKey




iBlack | Mobile | Wiki | Ajouter ce moteur
.