stream_wrapper_unregister
简介
其它基本扩展
PHP 手册
Tidy
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
范例
范例
Tidy 函数
ob_tidyhandler
— ob_start callback function to repair the buffer
tidy_access_count
— Returns the Number of Tidy accessibility warnings encountered for specified document
tidy_clean_repair
— Execute configured cleanup and repair operations on parsed markup
tidy_config_count
— Returns the Number of Tidy configuration errors encountered for specified document
tidy::__construct
— Constructs a new tidy object
tidy_diagnose
— Run configured diagnostics on parsed and repaired markup
tidy_error_count
— Returns the Number of Tidy errors encountered for specified document
tidy_get_body
— Returns a tidyNode Object starting from the tag of the tidy parse tree
tidy_get_config
— Get current Tidy configuration
tidy_get_error_buffer
— Return warnings and errors which occurred parsing the specified document
tidy_get_head
— Returns a tidyNode Object starting from the tag of the tidy parse tree
tidy_get_html_ver
— Get the Detected HTML version for the specified document
tidy_get_html
— Returns a tidyNode Object starting from the tag of the tidy parse tree
tidy_get_opt_doc
— Returns the documentation for the given option name
tidy_get_output
— Return a string representing the parsed tidy markup
tidy_get_release
— Get release date (version) for Tidy library
tidy_get_root
— Returns a tidyNode object representing the root of the tidy parse tree
tidy_get_status
— Get status of specified document
tidy_getopt
— Returns the value of the specified configuration option for the tidy document
tidy_is_xhtml
— Indicates if the document is a XHTML document
tidy_is_xml
— Indicates if the document is a generic (non HTML/XHTML) XML document
tidy_load_config
— Load an ASCII Tidy configuration file with the specified encoding
tidy_node->get_attr
— Return the attribute with the provided attribute id
tidy_node->get_nodes
— Return an array of nodes under this node with the specified id
tidy_node->next
— Returns the next sibling to this node
tidy_node->prev
— Returns the previous sibling to this node
tidy_parse_file
— Parse markup in file or URI
tidy_parse_string
— Parse a document stored in a string
tidy_repair_file
— Repair a file and return it as a string
tidy_repair_string
— Repair a string using an optionally provided configuration file
tidy_reset_config
— Restore Tidy configuration to default values
tidy_save_config
— Save current settings to named file
tidy_set_encoding
— Set the input/output character encoding for parsing markup
tidy_setopt
— Updates the configuration settings for the specified tidy document
tidy_warning_count
— Returns the Number of Tidy warnings encountered for specified document
tidyNode->hasChildren
— Returns true if this node has children
tidyNode->hasSiblings
— Returns true if this node has siblings
tidyNode->isAsp
— Returns true if this node is ASP
tidyNode->isComment
— Returns true if this node represents a comment
tidyNode->isHtml
— Returns true if this node is part of a HTML document
tidyNode->isJste
— Returns true if this node is JSTE
tidyNode->isPhp
— Returns true if this node is PHP
tidyNode->isText
— Returns true if this node represents text (no markup)
tidyNode::getParent
— returns the parent node of the current node
stream_wrapper_unregister
简介
其它基本扩展
PHP 手册