PHP: tidy_setopt - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

tidy_warning_count tidy_set_encoding

Last updated: Sat, 27 Jan 2007

view this page in

# tidy_setopt

(no version information, might be only in CVS)

tidy_setopt -- Updates the configuration settings for the specified tidy document

## Description

bool tidy_setopt ( string option, mixed value )

tidy_setopt() updates the specified `option` with a new `value`. You will find a list with each configuration option at: http://tidy.sourceforge.net/docs/quickref.html.

Пример 1. tidy_setopt() example

`<?php $html = '<p>test</i>'; $tidy = tidy_parse_string($html); tidy_setopt('indent', FALSE); ?>`

See also tidy_getopt(), tidy_get_config(), tidy_reset_config() and tidy_save_config().

> Замечание: Эта функция доступна только в Tidy 1.0. С приходом Tidy 2.0 она стала ненужной и была удалена.

add a note User Contributed Notes
tidy_setopt
There are no user contributed notes for this page.
tidy_warning_count tidy_set_encoding

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST