[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/html-api/ -> class-wp-html-attribute-token.php (summary)

HTML API: WP_HTML_Attribute_Token class

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

Defines 1 class

WP_HTML_Attribute_Token:: (1 method):
  __construct()


Class: WP_HTML_Attribute_Token  - X-Ref

Core class used by the HTML tag processor as a data structure for the attribute token,
allowing to drastically improve performance.

This class is for internal usage of the WP_HTML_Tag_Processor class.

__construct( $name, $value_start, $value_length, $start, $length, $is_true )   X-Ref
Constructor.

param: string $name         Attribute name.
param: int    $value_start  Attribute value.
param: int    $value_length Number of bytes attribute value spans.
param: int    $start        The string offset where the attribute name starts.
param: int    $length       Byte length of the entire attribute name or name and value pair expression.
param: bool   $is_true      Whether the attribute is a boolean attribute with true value.



Generated : Thu May 2 08:20:01 2024 Cross-referenced by PHPXref