Home > PHP > Function > Tidy > tidy_setopt()

tidy_setopt()

tidy_setopt - Updates the configuration settings for the specified tidy document

Syntax

bool tidy_setopt (string $option, mixed $value)

Arguments

  • option - The tidy option name. A list of available configuration options may be found at: » http://tidy.sourceforge.net/docs/quickref.html.
  • value - The tidy option name.

Description

tidy_setopt() updates the specified option with a new value.

Version

PHP PECL tidy >= 0.5.2

Return value

Returns TRUE on success or FALSE on failure.