tidy_error_count

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Returns the Number of Tidy errors encountered for specified document int tidy_error_count ( tidy $object ) Returns the number of Tidy errors encountered for the specified document. Parameters: object The Tidy object. Returns: Returns the number of errors. Exam

tidy_config_count

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Returns the Number of Tidy configuration errors encountered for specified document int tidy_config_count ( tidy $object ) Returns the number of errors encountered in the configuration of the specified tidy object. Parameters: object The Tidy object. Returns: Returns the number of errors.

tidy_access_count

(PHP 5, PHP 7, PECL tidy >= 0.5.2) Returns the Number of Tidy accessibility warnings encountered for specified document int tidy_access_count ( tidy $object ) tidy_access_count() returns the number of accessibility warnings found for the specified document. Parameters: object The Tidy object. Returns: Returns the number of warnings.

ob_tidyhandler

(PHP 5, PHP 7) ob_start callback function to repair the buffer string ob_tidyhandler ( string $input [, int $mode ] ) Callback function for ob_start() to repair the buffer. Parameters: input The buffer. mode The buffer mode. Returns: Returns the modified buffer.

tidyNode::isText

(PHP 5 >= 5.0.1, PHP 7) Checks if a node represents text (no markup) bool tidyNode::isText ( void ) Tells if the node represents a text (without any markup). Returns: Returns TRUE if the node represent a text, FALSE otherwise. Notes: This function was named tidy_node::is_text() in PHP 4/Tidy 1. Examples:

tidyNode::isPhp

(PHP 5 >= 5.0.1, PHP 7) Checks if a node is PHP bool tidyNode::isPhp ( void ) Tells if the node is PHP. Returns: Returns TRUE if the current node is PHP code, FALSE otherwise. Notes: This function was named tidy_node::is_php() in PHP 4/Tidy 1. Examples: Extract PHP code from a mixed HTML document

tidyNode::isJste

(PHP 5 >= 5.0.1, PHP 7) Checks if this node is JSTE bool tidyNode::isJste ( void ) Tells if the node is JSTE. Returns: Returns TRUE if the node is JSTE, FALSE otherwise. Notes: This function was named tidy_node::is_jste() in PHP 4/Tidy 1. Examples: Extract JSTE code from a mixed HTML document

tidyNode::isHtml

(PHP 5 >= 5.0.1, PHP 7) Checks if a node is part of a HTML document bool tidyNode::isHtml ( void ) Tells if the node is part of HTML document. Returns: Returns TRUE if the node is part of a HTML document, FALSE otherwise. Notes: This function was named tidy_node::is_html() in PHP 4/Tidy 1. Examples: Ext

tidyNode::isComment

(PHP 5 >= 5.0.1, PHP 7) Checks if a node represents a comment bool tidyNode::isComment ( void ) Tells if the node is a comment. Returns: Returns TRUE if the node is a comment, FALSE otherwise. Notes: This function was named tidy_node::is_comment() in PHP 4/Tidy 1. Examples: Extract comments from a mixed

tidyNode::isAsp

(PHP 5 >= 5.0.1, PHP 7) Checks if this node is ASP bool tidyNode::isAsp ( void ) Tells whether the current node is ASP. Returns: Returns TRUE if the node is ASP, FALSE otherwise. Notes: This function was named tidy_node::is_asp() in PHP 4/Tidy 1. Examples: Extract ASP code from a mixed HTML document