The tidy classIntroductionAn HTML node in an HTML file, as detected by tidy. Class synopsis
tidy
/* Properties */
public
stringnull
$errorBuffer = null;
public
stringnull
$value = null;
/* Methods */
public __construct(
stringnull $filename = null ,arraystringnull $config = null ,stringnull $encoding = null ,bool $useIncludePath = false ) public tidyNodenull body()
public bool cleanRepair()
public bool diagnose()
public array getConfig()
public int getHtmlVer()
public stringintbool getOpt(string
$option )public stringfalse getOptDoc(string
$option )public string getRelease()
public int getStatus()
public tidyNodenull head()
public tidyNodenull html()
public bool isXhtml()
public bool isXml()
public bool parseFile(
string $filename ,arraystringnull $config = null ,stringnull $encoding = null ,bool $useIncludePath = false ) public bool parseString(string
$string , arraystringnull $config = null , stringnull $encoding = null )public static stringfalse repairFile(
string $filename ,arraystringnull $config = null ,stringnull $encoding = null ,bool $useIncludePath = false ) public static stringfalse repairString(string
$string , arraystringnull $config = null , stringnull $encoding = null )public tidyNodenull root()
Properties
|