tidy::isXhtml

tidy_is_xhtml

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

tidy::isXhtml -- tidy_is_xhtmlIndicates if the document is a XHTML document

說明

面向?qū)ο箫L(fēng)格

public tidy::isXhtml(): bool

過程化風(fēng)格

tidy_is_xhtml(tidy $tidy): bool

Tells if the document is a XHTML document.

參數(shù)

tidy

The Tidy 對(duì)象。

返回值

This function returns true if the specified tidy tidy is a XHTML document, or false otherwise.

警告

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