Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: tidy_get_status - Manual
[go: Go Back, main page]

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

search for in the

tidy_getopt" width="11" height="7"/> <tidy_get_root
Last updated: Mon, 05 Feb 2007

view this page in

tidy_get_status

(PHP 5)

tidy_get_status — 指定したドキュメントのステータスを取得する

説明

手続き言語型スタイル:

int tidy_get_status ( tidy object )

オブジェクト指向言語型スタイル:

int tidy->getStatus ( void )

tidy_get_status() は、 指定した Tidy オブジェクト object のステータスを返します。エラー/警告が発生しなかった場合は 0、 警告やアクセイシビリティエラーの場合は 1、 エラーの場合は 2 を返します。

例 2370. tidy_get_status() の例

<?php
$html
= '<p>paragraph</i>';
$tidy = tidy_parse_string($html);

$html2 = '<bogus>test</bogus>';
$tidy2 = tidy_parse_string($html2);

echo
tidy_get_status($tidy); //1

echo tidy_get_status($tidy2); //2
?>



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

tidy_getopt" width="11" height="7"/> <tidy_get_root
Last updated: Mon, 05 Feb 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites