tidy::html

(PHP 5, PHP 7, PECL tidy 0.5.2-1.0.0) Returns a tidyNode object starting from the <html> tag of the tidy parse tree tidyNode tidy::html ( void ) Object oriented style Procedural style tidyNode tidy_get_html ( tidy $object ) Returns a tidyNode object starting from the <html> tag of the tidy parse tree. Parameters: object The Tidy object. Re

tidy::head

(PHP 5, PHP 7, PECL tidy 0.5.2-1.0.0) Returns a tidyNode object starting from the <head> tag of the tidy parse tree tidyNode tidy::head ( void ) Object oriented style Procedural style tidyNode tidy_get_head ( tidy $object ) Returns a tidyNode object starting from the <head> tag of the tidy parse tree. Parameters: object The Tidy object. Re

tidy::getStatus

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Get status of specified document int tidy::getStatus ( void ) Object oriented style Procedural style int tidy_get_status ( tidy $object ) Returns the status for the specified tidy object. Parameters: object The Tidy object. Returns: Returns 0 if no error/warning was raised, 1 for warnings or accessibility er

tidy::getRelease

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Get release date (version) for Tidy library string tidy::getRelease ( void ) Object oriented style Procedural style string tidy_get_release ( void ) Gets the release date of the Tidy library. Returns: Returns a string with the release date of the Tidy library.

tidy::getOptDoc

(PHP 5 >= 5.1.0, PHP 7) Returns the documentation for the given option name string tidy::getOptDoc ( string $optname ) Object oriented style Procedural style string tidy_get_opt_doc ( tidy $object , string $optname ) tidy_get_opt_doc() returns the documentation for the given option name. Note: You need at least libtidy from 25 April, 2005 for this function be available. Parameters:

tidy::getOpt

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Returns the value of the specified configuration option for the tidy document mixed tidy::getOpt ( string $option ) Object oriented style Procedural style mixed tidy_getopt ( tidy $object , string $option ) Returns the value of the specified option for the specified tidy object. Parameters: object The Tidy object.

tidy::getHtmlVer

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Get the Detected HTML version for the specified document int tidy::getHtmlVer ( void ) Object oriented style Procedural style int tidy_get_html_ver ( tidy $object ) Returns the detected HTML version for the specified tidy object. Parameters: object The Tidy object. Returns: Returns the detected HTML version.

tidy::getConfig

(PHP 5, PHP 7, PECL tidy >= 0.7.0) Get current Tidy configuration array tidy::getConfig ( void ) Object oriented style Procedural style array tidy_get_config ( tidy $object ) Gets the list of the configuration options in use by the given tidy object. Parameters: object The Tidy object. Returns: Returns an array of configuration options. For

tidy::$errorBuffer

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Return warnings and errors which occurred parsing the specified document string tidy_get_error_buffer ( tidy $tidy ) Object oriented style (property): string $tidy->errorBuffer; Procedural style: Returns warnings and errors which occurred parsing the specified document. Parameters: tidy The Tidy object. Returns

tidy::diagnose

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Run configured diagnostics on parsed and repaired markup bool tidy::diagnose ( void ) Object oriented style Procedural style bool tidy_diagnose ( tidy $object ) Runs diagnostic tests on the given tidy object, adding some more information about the document in the error buffer. Parameters: object The Tidy object. R