[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
HTML API: WP_HTML_Token class
File Size: | 126 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_HTML_Token:: (3 methods):
__construct()
__destruct()
__wakeup()
Class: WP_HTML_Token - X-Ref
Core class used by the HTML processor during HTML parsing__construct( ?string $bookmark_name, string $node_name, bool $has_self_closing_flag, ?callable $on_destroy = null ) X-Ref |
Constructor - creates a reference to a token in some external HTML string. param: string|null $bookmark_name Name of bookmark corresponding to location in HTML where token is found, param: string $node_name Name of node token represents; if uppercase, an HTML element; if lowercase, a special value like "marker". param: bool $has_self_closing_flag Whether the source token contains the self-closing flag, regardless of whether it's valid. param: callable|null $on_destroy Optional. Function to call when destroying token, useful for releasing the bookmark. |
__destruct() X-Ref |
Destructor. |
__wakeup() X-Ref |
Wakeup magic method. |
Generated : Sat Nov 23 08:20:01 2024 | Cross-referenced by PHPXref |