Query: tidy_warning_count
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
TIDY_WARNING_COUNT(3) 1 TIDY_WARNING_COUNT(3) tidy_warning_count - Returns the Number of Tidy warnings encountered for specified documentSYNOPSISint tidy_warning_count (tidy $object)DESCRIPTIONReturns the number of Tidy warnings encountered for the specified document.PARAMETERSo $object - The Tidy object.RETURN VALUESReturns the number of warnings.EXAMPLESExample #1 tidy_warning_count(3) example <?php $html = '<p>test</i> <bogustag>bogus</bogustag>'; $tidy = tidy_parse_string($html); echo tidy_error_count($tidy) . " "; //1 echo tidy_warning_count($tidy) . " "; //5 ?>SEE ALSOtidy_error_count(3), tidy_access_count(3). PHP Documentation Group TIDY_WARNING_COUNT(3)
Related Man Pages |
---|
tidy_access_count(3) - php |
tidy_get_body(3) - php |
tidy_get_html(3) - php |
tidy_parse_file(3) - php |
tidy.body(3) - php |