blob: f144fc3709142cdb3ef4719ab2975b0cd7a3a13f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
namespace HTML5\Parser;
/**
* Standard events for HTML5.
*
* See HTML5 spec section 8.2.4
*/
interface EventHandler {
public function doctype($name, $publicID, $systemID, $quirks = FALSE);
public function startTag($name, $attributes = array(), $selfClosing = FALSE);
public function endTag($name);
public function comment($cdata);
public function character($cdata);
public function eof();
// Do we need...
// public function cdata();
// public function processorInstruction();
}
|