You are here

public function EventHandler::doctype in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/EventHandler.php \Masterminds\HTML5\Parser\EventHandler::doctype()

A doctype declaration.

Parameters

string $name: The name of the root element.

int $idType: One of DOCTYPE_NONE, DOCTYPE_PUBLIC, or DOCTYPE_SYSTEM.

string $id: The identifier. For DOCTYPE_PUBLIC, this is the public ID. If DOCTYPE_SYSTEM, then this is a system ID.

boolean $quirks: Indicates whether the builder should enter quirks mode.

2 methods override EventHandler::doctype()
DOMTreeBuilder::doctype in vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php
A doctype declaration.
EventStack::doctype in vendor/masterminds/html5/test/HTML5/Parser/EventStack.php
A doctype declaration.

File

vendor/masterminds/html5/src/HTML5/Parser/EventHandler.php, line 43

Class

EventHandler
Standard events for HTML5.

Namespace

Masterminds\HTML5\Parser

Code

public function doctype($name, $idType = 0, $id = null, $quirks = false);