You are here

public function EventHandler::processingInstruction 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::processingInstruction()

This is a holdover from the XML spec.

While user agents don't get PIs, server-side does.

Parameters

string $name: The name of the processor (e.g. 'php').

string $data: The unparsed data.

2 methods override EventHandler::processingInstruction()
DOMTreeBuilder::processingInstruction in vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php
This is a holdover from the XML spec.
EventStack::processingInstruction in vendor/masterminds/html5/test/HTML5/Parser/EventStack.php
This is a holdover from the XML spec.

File

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

Class

EventHandler
Standard events for HTML5.

Namespace

Masterminds\HTML5\Parser

Code

public function processingInstruction($name, $data = null);