tidy::getHtmlVer

tidy_get_html_ver

(PHP 5, PHP 7, PECL tidy >= 0.5.2)

tidy::getHtmlVer -- tidy_get_html_verGet the Detected HTML version for the specified document

说明

面向对象风格

public tidy::getHtmlVer ( void ) : int

过程化风格

tidy_get_html_ver ( tidy $object ) : int

Returns the detected HTML version for the specified tidy object.

参数

object

The Tidy 对象。

返回值

Returns the detected HTML version.

Warning

This function is not yet implemented in the Tidylib itself, so it always return 0.

相关文章
php domdocument dumps the internal document into a string using html formattingphp domdocument dumps the internal document into a file using html formattingphp domelement declares the attribute specified by local name and namespace uri to be of type idphp domimplementation creates a domdocument object of the specified type with its document elementphp tidy 函数 returns the number of tidy accessibility warnings encountered for specified documentphp tidy 函数 returns the number of tidy configuration errors encountered for specified documentphp tidy 函数 returns the number of tidy errors encountered for specified documentphp tidy 函数 returns the number of tidy warnings encountered for specified documentphp harudoc get current value of the specified document attributephp harudoc save the document into the specified filephp mongodb bson unserializable constructs the object from a bson array or documentphp tidy get the detected html version for the specified documentphp tidy returns the value of the specified configuration option for the tidy documentphp tidy get status of specified documentphp tidy indicates if the document is a xhtml documentphp tidy indicates if the document is a generic non html/xhtml xml documentphp tidy parse a document stored in a stringphp tidy returns a tidynode object starting from the html tag of the tidy parse treephp tidy return warnings and errors which occurred parsing the specified documentphp tidynode checks if a node is part of a html document
关注编程学问公众号