Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430545
NullTreeHandler.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
NullTreeHandler.php
View Options
<?php
namespace
Wikimedia\RemexHtml\TreeBuilder
;
use
Wikimedia\RemexHtml\Tokenizer\Attributes
;
/**
* A TreeHandler which does nothing
*/
class
NullTreeHandler
implements
TreeHandler
{
/**
* @inheritDoc
*/
public
function
startDocument
(
$fns
,
$fn
)
{
}
/**
* @inheritDoc
*/
public
function
endDocument
(
$pos
)
{
}
/**
* @inheritDoc
*/
public
function
characters
(
$parent
,
$refNode
,
$text
,
$start
,
$length
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
insertElement
(
$parent
,
$refNode
,
Element
$element
,
$void
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
endTag
(
Element
$element
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
doctype
(
$name
,
$public
,
$system
,
$quirks
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
comment
(
$parent
,
$refNode
,
$text
,
$sourceStart
,
$sourceLength
)
{
}
/**
* @inheritDoc
*/
public
function
error
(
$text
,
$pos
)
{
}
/**
* @inheritDoc
*/
public
function
mergeAttributes
(
Element
$element
,
Attributes
$attrs
,
$sourceStart
)
{
}
/**
* @inheritDoc
*/
public
function
removeNode
(
Element
$element
,
$sourceStart
)
{
}
/**
* @inheritDoc
*/
public
function
reparentChildren
(
Element
$element
,
Element
$newParent
,
$sourceStart
)
{
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 19:12 (5 h, 39 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0d/ee/b5bd9ee5b6b4e125080ffd0de04d
Default Alt Text
NullTreeHandler.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment