Manuál PHP | ||
---|---|---|
Předcházející | Další |
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().
Parametr config lze předávat jak jako pole, tak jako řetězec. Předává-li se jako řetězec, představuje název konfiguračního souboru, jinak jsou obsažené parametry přímo interpretovány. Vysvětlení všech voleb naleznete na http://tidy.sourceforge.net/docs/quickref.html
Parametr encoding nastavuje kódování pro vstupní/výstupní dokumenty. Možné hodnoty parametru encoding jsou: ascii, latin0, latin1, raw, utf8, iso202, utf16le, utf16be, utf16, mac, win1252, ibm858, big5 a shiftjis.
See also tidy_parse_file() and tidy_parse_string().
Předcházející | Domů | Další |
tidy_config_count | Nahoru | tidy_diagnose |