(PHP 5, PHP 7, PECL tidy >= 0.5.2)
An HTML node in an HTML file, as detected by tidy.
$filename
= null
[, array|string|null $config
= null
[, string|null $encoding
= null
[, bool $useIncludePath
= false
]]]] )public body ( ) : tidyNode|null
public cleanRepair ( ) : bool
public diagnose ( ) : bool
tidy_get_error_buffer ( tidy $tidy ) : string|false
public getConfig ( ) : array
public getHtmlVer ( ) : int
public getOpt ( string $option ) : string|int|bool
public getOptDoc ( string $option ) : string|false
public getRelease ( ) : string
public getStatus ( ) : int
public head ( ) : tidyNode|null
public html ( ) : tidyNode|null
public isXhtml ( ) : bool
public isXml ( ) : bool
public parseFile ( string $filename [, array|string|null $config = null [, string|null $encoding = null [, bool $useIncludePath = false ]]] ) : bool
public parseString ( string $string [, array|string|null $config = null [, string|null $encoding = null ]] ) : bool
public static repairFile ( string $filename [, array|string|null $config = null [, string|null $encoding = null [, bool $useIncludePath = false ]]] ) : string|false
public static repairString ( string $string [, array|string|null $config = null [, string|null $encoding = null ]] ) : string|false
public root ( ) : tidyNode|null}
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.tidy.php