PHP Manuál | ||
---|---|---|
Predchádzajúci | Nasledujúci |
tidy::__construct() constructs a new tidy object.
If the filename parameter is given, this function will also read that file and initializate the object with the file, acting like tidy_parse_file().
Parameter config sa môže poslať buď ako pole alebo ako reťazec. Ak ho pošlete ako reťazec, tak má význam ako názov konfiguračného súboru, inak sa interpretuje ako voľby samotné. Prejdite si http://tidy.sourceforge.net/docs/quickref.html pre vysvetlenie o každej voľbe.
Parameter encoding nastavuje kódovanie pre vstupno/výstupné dokumenty. Možné hodnoty pre encoding sú: ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, utf16le, utf16be, big5 a shiftjis.
See also tidy_parse_file() and tidy_parse_string().
Predchádzajúci | Domov | Nasledujúci |
tidy_config_count | Hore | tidy_diagnose |