Constructor.
Parameters
$name
stringrequired- Attribute name.
$value_start
intrequired- Attribute value.
$value_length
intrequired- Number of bytes attribute value spans.
$start
intrequired- The string offset where the attribute name starts.
$length
intrequired- Byte length of the entire attribute name or name and value pair expression.
$is_true
boolrequired- Whether the attribute is a boolean attribute with true value.
Source
public function __construct( $name, $value_start, $value_length, $start, $length, $is_true ) {
$this->name = $name;
$this->value_starts_at = $value_start;
$this->value_length = $value_length;
$this->start = $start;
$this->length = $length;
$this->is_true = $is_true;
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.