Tidy
PHP Manual

The Tidy class

Introduction

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

Class synopsis

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

Properties

errorBuffer

The last warnings and errors from TidyLib

Table of Contents


Tidy
PHP Manual