[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/html-api/ -> class-wp-html-unsupported-exception.php (summary)

HTML API: WP_HTML_Unsupported_Exception class

File Size: 115 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_HTML_Unsupported_Exception:: (1 method):
  __construct()


Class: WP_HTML_Unsupported_Exception  - X-Ref

Core class used by the HTML processor during HTML parsing
for indicating that a given operation is unsupported.

This class is designed for internal use by the HTML processor.

The HTML API aims to operate in compliance with the HTML5
specification, but does not implement the full specification.
In cases where it lacks support it should not cause breakage
or unexpected behavior. In the cases where it recognizes that
it cannot proceed, this class is used to abort from any
operation and signify that the given HTML cannot be processed.

__construct( string $message, string $token_name, int $token_at, string $token, array $stack_of_open_elements, array $active_formatting_elements )   X-Ref
Constructor function.

param: string   $message                    Brief message explaining what is unsupported, the reason this exception was raised.
param: string   $token_name                 Normalized name of matched token when this exception was raised.
param: int      $token_at                   Number of bytes into source HTML document where matched token starts.
param: string   $token                      Full raw text of matched token when this exception was raised.
param: string[] $stack_of_open_elements     Stack of open elements when this exception was raised.
param: string[] $active_formatting_elements List of active formatting elements when this exception was raised.



Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref