Tidy
PHP Manual

The tidy class

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

Introduction

An HTML node in an HTML file, as detected by tidy.

Class synopsis

tidy {
/* Properties */
public string $errorBuffer;
/* Methods */
public tidyNode body ( void )
public bool cleanRepair ( void )
public __construct ([ string $filename [, mixed $config [, string $encoding [, bool $use_include_path ]]]] )
public bool diagnose ( void )
public array getConfig ( void )
public int getHtmlVer ( void )
public mixed getOpt ( string $option )
public string getOptDoc ( string $optname )
public string getRelease ( void )
public int getStatus ( void )
public tidyNode head ( void )
public tidyNode html ( void )
public bool isXhtml ( void )
public bool isXml ( void )
public bool parseFile ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = FALSE ]]] )
public bool parseString ( string $input [, mixed $config [, string $encoding ]] )
public string repairFile ( string $filename [, mixed $config [, string $encoding [, bool $use_include_path = FALSE ]]] )
public string repairString ( string $data [, mixed $config [, string $encoding ]] )
public tidyNode root ( void )
}

Table of Contents


Tidy
PHP Manual