(no version information, might be only in CVS)
tidy::__construct --
Constructs a new tidy object
Описание
tidy
tidy::__construct ( [string filename [, mixed config [, string encoding [, bool use_include_path]]]] )
tidy::__construct() constructs a new tidy object.
If the filename parameter is given, this function
will also read that file and initialize the object with the file,
acting like tidy_parse_file().
Параметр config может быть передан как
в виде строки, так и в виде массива. В случае передачи строки, параметр рассматривается как
путь к конфигурационному файлу, в противном случае содержание массива рассматривается
как собственно конфигурация. За подробной информацией о опциях обращайтесь к
http://tidy.sourceforge.net/docs/quick/functions/html.
Возможные значения параметра encoding:
ascii, latin1, raw, utf8, iso2022, mac, win1252, utf16le, utf16be, utf16, big5 и shiftjis.
See also tidy_parse_file() and
tidy_parse_string().